0001-disable-default-debug.patch 622 B

123456789101112131415161718192021222324
  1. Comment out the hardcoded debug defines. If extra debug is needed, we can add it
  2. as a define in the make flags.
  3. Signed-off-by: Christian Stewart <christian@paral.in>
  4. diff --git a/include/autoconf.h b/include/autoconf.h
  5. --- a/include/autoconf.h
  6. +++ b/include/autoconf.h
  7. @@ -130,12 +130,12 @@
  8. /*
  9. * Debug Related Config
  10. */
  11. -#define DBG 1
  12. +//#define DBG 1
  13. -#define CONFIG_DEBUG /* DBG_871X, etc... */
  14. +//#define CONFIG_DEBUG /* DBG_871X, etc... */
  15. //#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
  16. -#define CONFIG_PROC_DEBUG
  17. +//#define CONFIG_PROC_DEBUG
  18. //#define DBG_TX