Fix CONFIG_RTW_DEBUG compilation and levels

This commit is contained in:
kimocoder 2019-04-06 08:17:54 +02:00
parent 744c5e170d
commit 5187e1b094
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ CONFIG_RTW_IPCAM_APPLICATION = n
CONFIG_RTW_REPEATER_SON = n
CONFIG_RTW_WIFI_HAL = y
########################## Debug ###########################
CONFIG_RTW_DEBUG = n
CONFIG_RTW_DEBUG = y
# default log level is _DRV_INFO_ = 4,
# please refer to "How_to_set_driver_debug_log_level.doc" to set the available level.
CONFIG_RTW_LOG_LEVEL = 4

View File

@ -990,7 +990,7 @@ int rtw_resume_process(_adapter *padapter)
if (pwrpriv->bInSuspend == _FALSE) {
pdbgpriv->dbg_resume_error_cnt++;
RTW_INFO("%s bInSuspend = %d\n", _func__, pwrpriv->bInSuspend);
RTW_INFO("%s bInSuspend = %d\n", __func__, pwrpriv->bInSuspend);
return -1;
}