staging: wfx: retrieve the PS status from the vif
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 26 May 2020 17:18:16 +0000 (19:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 08:18:09 +0000 (10:18 +0200)
commit9a9cd090e996f80ec9edbd8ea58192f25e21ec74
tree335b8a201c4a4ad68f5d56381656a5432ceb754f
parentc791f746c88f9d4ac7171807f15d4eaa724855a5
staging: wfx: retrieve the PS status from the vif

The Power Save status is stored for each virtual interface and for the
whole device. The WF200 is able to handle power saving per interface, so
use the value stored in vif.

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