mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 23:54:24 +00:00
Disable messages about power save in the monitor mode
This commit is contained in:
parent
34da3d570b
commit
18159723d9
2
Makefile
2
Makefile
@ -167,7 +167,7 @@ CONFIG_RTL8814A = y
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
EXTRA_CFLAGS += -DDBG=1 -DCONFIG_RTW_DEBUG -DCONFIG_DBG_COUNTER -DRTW_LOG_LEVEL=4
|
EXTRA_CFLAGS += -DDBG=1 -DCONFIG_RTW_DEBUG -DCONFIG_DBG_COUNTER -DRTW_LOG_LEVEL=5
|
||||||
EXTRA_CFLAGS += -DCONFIG_RADIOTAP_WITH_RXDESC
|
EXTRA_CFLAGS += -DCONFIG_RADIOTAP_WITH_RXDESC
|
||||||
else ifeq ($(DEBUG), 2)
|
else ifeq ($(DEBUG), 2)
|
||||||
EXTRA_CFLAGS += -DDBG=1 -DCONFIG_RTW_DEBUG -DCONFIG_DBG_COUNTER -DRTW_LOG_LEVEL=5
|
EXTRA_CFLAGS += -DDBG=1 -DCONFIG_RTW_DEBUG -DCONFIG_DBG_COUNTER -DRTW_LOG_LEVEL=5
|
||||||
|
@ -280,7 +280,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_DBG(FUNC_ADPT_FMT ": ps_deny=0x%08X, skip power save!\n",
|
RTW_DBG(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…
Reference in New Issue
Block a user