mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +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
|
||||
|
||||
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
|
||||
else ifeq ($(DEBUG), 2)
|
||||
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);
|
||||
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_DBG(FUNC_ADPT_FMT ": ps_deny=0x%08X, skip power save!\n",
|
||||
FUNC_ADPT_ARG(padapter), ps_deny);
|
||||
goto exit;
|
||||
|
Loading…
Reference in New Issue
Block a user