Skip to content

Commit

Permalink
wl12xx: clear wl->wow_enabled on resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Jun 27, 2011
1 parent 4a859df commit ff91afc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ff91afc

Please sign in to comment.