From 5187e1b094776d5249c1c2d85fa888210189503c Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 6 Apr 2019 08:17:54 +0200 Subject: [PATCH] Fix CONFIG_RTW_DEBUG compilation and levels --- Makefile | 2 +- os_dep/linux/usb_intf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c058b12..255d731 100755 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/os_dep/linux/usb_intf.c b/os_dep/linux/usb_intf.c index 518b3cb..cbe5c12 100644 --- a/os_dep/linux/usb_intf.c +++ b/os_dep/linux/usb_intf.c @@ -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; }