diff options
Diffstat (limited to 'package/rtl8821au/0001-disable-default-debug.patch')
-rw-r--r-- | package/rtl8821au/0001-disable-default-debug.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/rtl8821au/0001-disable-default-debug.patch b/package/rtl8821au/0001-disable-default-debug.patch new file mode 100644 index 0000000000..de6fc62114 --- /dev/null +++ b/package/rtl8821au/0001-disable-default-debug.patch @@ -0,0 +1,24 @@ +Comment out the hardcoded debug defines. If extra debug is needed, we can add it +as a define in the make flags. + +Signed-off-by: Christian Stewart <christian@paral.in> + +diff --git a/include/autoconf.h b/include/autoconf.h +--- a/include/autoconf.h ++++ b/include/autoconf.h +@@ -130,12 +130,12 @@ + /* + * Debug Related Config + */ +-#define DBG 1 ++//#define DBG 1 + +-#define CONFIG_DEBUG /* DBG_871X, etc... */ ++//#define CONFIG_DEBUG /* DBG_871X, etc... */ + //#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */ + +-#define CONFIG_PROC_DEBUG ++//#define CONFIG_PROC_DEBUG + + + //#define DBG_TX |