]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: wfx: drop unnecessary wvif->powersave_mode
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:15 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:15 +0000 (15:56 +0100)
commit50ad848cc6d6c6290a38b62ea60abefb903396d3
treeef75215ab8e1f89f7e28ecb09633c26348e4f2f9
parentad41f7196bd3eafa2e879ec7f3d387a49666f677
staging: wfx: drop unnecessary wvif->powersave_mode

Power save status is already available in bss_conf. So there is no
reason to keep information duplicated in wvif->powersave_mode.

In add, type of wvif->powersave_mode is low level struct made to
communicate with device. We would like to limit usage of this kind of
struct in upper layers of the driver.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-35-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c
drivers/staging/wfx/wfx.h