summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/debugfs.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-02-02 19:06:45 +0200
committerLuciano Coelho <coelho@ti.com>2012-02-15 08:38:33 +0200
commit5c0dc2fcfec606cf9f2d28ff31bbeb0a6225b27a (patch)
treebe845615117febc537aa6a11f0fe5a79ca064467 /drivers/net/wireless/wl12xx/debugfs.c
parent59a10c66d0a1970d3f8a7e65bb1f03dec3aae3c5 (diff)
downloadop-kernel-dev-5c0dc2fcfec606cf9f2d28ff31bbeb0a6225b27a.zip
op-kernel-dev-5c0dc2fcfec606cf9f2d28ff31bbeb0a6225b27a.tar.gz
wl12xx: add forced_ps mode
For certain WiFi certification tests forcing PS is necessary. Since DPS is now enabled in the FW and this can't be achieved by using netlatency this required a new config option. Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/debugfs.c')
-rw-r--r--drivers/net/wireless/wl12xx/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/debugfs.c b/drivers/net/wireless/wl12xx/debugfs.c
index 15353fa..02da445 100644
--- a/drivers/net/wireless/wl12xx/debugfs.c
+++ b/drivers/net/wireless/wl12xx/debugfs.c
@@ -358,7 +358,7 @@ static ssize_t dynamic_ps_timeout_write(struct file *file,
*/
wl12xx_for_each_wlvif_sta(wl, wlvif) {
- if (test_bit(WLVIF_FLAG_IN_AUTO_PS, &wlvif->flags))
+ if (test_bit(WLVIF_FLAG_IN_PS, &wlvif->flags))
wl1271_ps_set_mode(wl, wlvif, STATION_AUTO_PS_MODE);
}
OpenPOWER on IntegriCloud