From: Eliad Peller Date: Mon, 6 Jun 2011 09:21:53 +0000 (+0300) Subject: wl12xx: clear wl->wow_enabled on resume X-Git-Tag: MMI-PSA29.97-13-9~18350^2~12^2~42^2~234^2~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff91afc90a736c97f24dec31e642411563906cfb;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Luciano Coelho --- 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) wl1271_enable_interrupts(wl); } wl1271_configure_resume(wl); + wl->wow_enabled = false; return 0; }