summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/debugfs.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-02-02 18:06:45 +0100
committerLuciano Coelho <coelho@ti.com>2012-02-15 07:38:33 +0100
commit5c0dc2fcfec606cf9f2d28ff31bbeb0a6225b27a (patch)
treebe845615117febc537aa6a11f0fe5a79ca064467 /drivers/net/wireless/wl12xx/debugfs.c
parentwl12xx: add suspend_listen_interval debugfs file (diff)
downloadlinux-5c0dc2fcfec606cf9f2d28ff31bbeb0a6225b27a.tar.xz
linux-5c0dc2fcfec606cf9f2d28ff31bbeb0a6225b27a.zip
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 15353fac0707..02da445ea98a 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);
}