From dade7cb03d7a3556a9916f60f13c6b1811d6bed1 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Sat, 6 Apr 2019 08:30:38 +0200 Subject: [PATCH] disable phydm debug function because it causes instability --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 355ec8c..ccc5550 100755 --- a/Makefile +++ b/Makefile @@ -83,7 +83,8 @@ CONFIG_RTW_IPCAM_APPLICATION = n CONFIG_RTW_REPEATER_SON = n CONFIG_RTW_WIFI_HAL = y ########################## Debug ########################### -CONFIG_RTW_DEBUG = y +CONFIG_DISABLE_PHYDM_DEBUG_FUNCTION = 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 = 4 @@ -680,6 +681,10 @@ EXTRA_CFLAGS += -DCONFIG_RTW_DEBUG EXTRA_CFLAGS += -DRTW_LOG_LEVEL=$(CONFIG_RTW_LOG_LEVEL) endif +ifeq ($(CONFIG_DISABLE_PHYDM_DEBUG_FUNCTION), y) +EXTRA_CFLAGS += -DCONFIG_DISABLE_PHYDM_DEBUG_FUNCTION +endif + EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04 ifeq ($(CONFIG_PLATFORM_I386_PC), y)