aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2011-06-06 05:21:53 -0400
committerLuciano Coelho <coelho@ti.com>2011-06-27 06:29:21 -0400
commitff91afc90a736c97f24dec31e642411563906cfb (patch)
tree6fc9e649505040761fd38414539e5a0f5634e1d9 /drivers
parent4a859df85a7855b15f5e1bf4b0869a16757a3e43 (diff)
wl12xx: clear wl->wow_enabled on resume
We set wl->wow_enabled on every suspend(), so we need to clear it on every resume(). (we can't rely on setting wl->wow_enabled=false in suspend(), as it being called only when wowlan triggers are configured) Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/wl12xx/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 8256f2470040..6a21c13761ba 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -1613,6 +1613,7 @@ static int wl1271_op_resume(struct ieee80211_hw *hw)
1613 wl1271_enable_interrupts(wl); 1613 wl1271_enable_interrupts(wl);
1614 } 1614 }
1615 wl1271_configure_resume(wl); 1615 wl1271_configure_resume(wl);
1616 wl->wow_enabled = false;
1616 1617
1617 return 0; 1618 return 0;
1618} 1619}