提交 ff91afc9 编写于 作者: E Eliad Peller 提交者: Luciano Coelho

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: NEliad Peller <eliad@wizery.com>
Signed-off-by: NLuciano Coelho <coelho@ti.com>
上级 4a859df8
...@@ -1613,6 +1613,7 @@ static int wl1271_op_resume(struct ieee80211_hw *hw) ...@@ -1613,6 +1613,7 @@ static int wl1271_op_resume(struct ieee80211_hw *hw)
wl1271_enable_interrupts(wl); wl1271_enable_interrupts(wl);
} }
wl1271_configure_resume(wl); wl1271_configure_resume(wl);
wl->wow_enabled = false;
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册