diff --git a/Makefile b/Makefile index be56e12..7c0308c 100755 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ CONFIG_RTW_WIFI_HAL = y CONFIG_RTW_DEBUG = n # 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 = 2 +CONFIG_RTW_LOG_LEVEL = 0 ######################## Wake On Lan ########################## CONFIG_WOWLAN = n CONFIG_WAKEUP_TYPE = 0x7 #bit2: deauth, bit1: unicast, bit0: magic pkt. @@ -106,9 +106,9 @@ CONFIG_RTW_SDIO_PM_KEEP_POWER = y ###################### MP HW TX MODE FOR VHT ####################### CONFIG_MP_VHT_HW_TX_MODE = n ###################### Platform Related ####################### -CONFIG_PLATFORM_I386_PC = n -CONFIG_PLATFORM_ARM_RPI = y -CONFIG_PLATFORM_ARM64_RPI = n +CONFIG_PLATFORM_I386_PC = y +CONFIG_PLATFORM_ARM_RPI = n +CONFIG_PLATFORM_ARM64_RPI = y CONFIG_PLATFORM_ANDROID_X86 = n CONFIG_PLATFORM_ANDROID_INTEL_X86 = n CONFIG_PLATFORM_JB_X86 = n diff --git a/core/rtw_debug.c b/core/rtw_debug.c index 40d2996..d9752bb 100644 --- a/core/rtw_debug.c +++ b/core/rtw_debug.c @@ -6051,6 +6051,7 @@ ssize_t proc_set_lck(struct file *file, const char __user *buffer, size_t count, inline void RTW_BUF_DUMP_SEL(uint _loglevel, void *sel, u8 *_titlestring, bool _idx_show, const u8 *_hexdata, int _hexdatalen) { +#ifdef CONFIG_RTW_DEBUG int __i; u8 *ptr = (u8 *)_hexdata; @@ -6076,6 +6077,7 @@ inline void RTW_BUF_DUMP_SEL(uint _loglevel, void *sel, u8 *_titlestring, } _RTW_PRINT_SEL(sel, "\n"); } +#endif } #else inline void _RTW_STR_DUMP_SEL(void *sel, char *str_out)