]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
wl12xx: clear wl->wow_enabled on resume
authorEliad Peller <eliad@wizery.com>
Mon, 6 Jun 2011 09:21:53 +0000 (12:21 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 10:29:21 +0000 (13:29 +0300)
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>
drivers/net/wireless/wl12xx/main.c

index 8256f2470040ce8bcd5f1441a13b338d6914a09c..6a21c13761ba9a3459cc844e401023a1c3f78e14 100644 (file)
@@ -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;
 }