Disable messages about power save in monitor mode

This commit is contained in:
kimocoder 2019-02-14 17:49:53 +01:00
parent 784c314dc8
commit a6a2911863

View File

@ -278,7 +278,7 @@ void rtw_ps_processor(_adapter *padapter)
_enter_pwrlock(&adapter_to_pwrctl(padapter)->lock);
ps_deny = rtw_ps_deny_get(padapter);
_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",
FUNC_ADPT_ARG(padapter), ps_deny);
goto exit;