Commit 03893e93 authored by Jonas Dreßler's avatar Jonas Dreßler Committed by Kalle Valo

mwifiex: Don't log error on suspend if wake-on-wlan is disabled

It's not an error if someone chooses to put their computer to sleep, not
wanting it to wake up because the person next door has just discovered
what a magic packet is. So change the loglevel of this annoying message
from ERROR to INFO.
Signed-off-by: default avatarJonas Dreßler <verdre@v0yd.nl>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211016153244.24353-2-verdre@v0yd.nl
parent e0e037b9
...@@ -3492,7 +3492,7 @@ static int mwifiex_cfg80211_suspend(struct wiphy *wiphy, ...@@ -3492,7 +3492,7 @@ static int mwifiex_cfg80211_suspend(struct wiphy *wiphy,
} }
if (!wowlan) { if (!wowlan) {
mwifiex_dbg(adapter, ERROR, mwifiex_dbg(adapter, INFO,
"None of the WOWLAN triggers enabled\n"); "None of the WOWLAN triggers enabled\n");
ret = 0; ret = 0;
goto done; goto done;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment