mirror of
https://github.com/drygdryg/rtl8188eus.git
synced 2025-04-29 02:37:16 +09:00
Disable messages about power save in monitor mode
This commit is contained in:
parent
784c314dc8
commit
a6a2911863
@ -278,7 +278,7 @@ void rtw_ps_processor(_adapter *padapter)
|
|||||||
_enter_pwrlock(&adapter_to_pwrctl(padapter)->lock);
|
_enter_pwrlock(&adapter_to_pwrctl(padapter)->lock);
|
||||||
ps_deny = rtw_ps_deny_get(padapter);
|
ps_deny = rtw_ps_deny_get(padapter);
|
||||||
_exit_pwrlock(&adapter_to_pwrctl(padapter)->lock);
|
_exit_pwrlock(&adapter_to_pwrctl(padapter)->lock);
|
||||||
if (ps_deny != 0) {
|
if ((ps_deny & (~(1<<PS_DENY_MONITOR_MODE))) != 0) {
|
||||||
RTW_INFO(FUNC_ADPT_FMT ": ps_deny=0x%08X, skip power save!\n",
|
RTW_INFO(FUNC_ADPT_FMT ": ps_deny=0x%08X, skip power save!\n",
|
||||||
FUNC_ADPT_ARG(padapter), ps_deny);
|
FUNC_ADPT_ARG(padapter), ps_deny);
|
||||||
goto exit;
|
goto exit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user