mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
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: Jonas Dreßler <verdre@v0yd.nl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211016153244.24353-2-verdre@v0yd.nl
This commit is contained in:
committed by
Kalle Valo
parent
e0e037b9fe
commit
03893e93af
@@ -3492,7 +3492,7 @@ static int mwifiex_cfg80211_suspend(struct wiphy *wiphy,
|
||||
}
|
||||
|
||||
if (!wowlan) {
|
||||
mwifiex_dbg(adapter, ERROR,
|
||||
mwifiex_dbg(adapter, INFO,
|
||||
"None of the WOWLAN triggers enabled\n");
|
||||
ret = 0;
|
||||
goto done;
|
||||
|
||||
Reference in New Issue
Block a user