diff --git a/Makefile b/Makefile index 9b00417..642384a 100755 --- a/Makefile +++ b/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 diff --git a/core/rtw_pwrctrl.c b/core/rtw_pwrctrl.c index 55d7101..d8b45f4 100644 --- a/core/rtw_pwrctrl.c +++ b/core/rtw_pwrctrl.c @@ -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<