linux-nanopi: add kernel for nanopi
[meta-nanopi.git] / recipes-kernel / linux / files / dhd-fix-nodebug.patch
1 --- a/drivers/net/wireless/bcm4336/dhd_config.c 2015-08-27 22:57:27.000000000 +0200
2 +++ b/drivers/net/wireless/bcm4336/dhd_config.c 2015-08-27 23:06:13.997638362 +0200
3 @@ -1059,6 +1059,7 @@
4         }
5  #endif
6  
7 +#ifdef DHD_DEBUG
8         /* Process dhd_console_ms */
9         memset(pick, 0, MAXSZ_BUF);
10         len_val = process_config_vars(bufp, len, pick, "dhd_console_ms=");
11 @@ -1066,6 +1067,7 @@
12                 dhd_console_ms = (int)simple_strtol(pick, NULL, 0);
13                 printf("%s: dhd_console_ms = 0x%X\n", __FUNCTION__, dhd_console_ms);
14         }
15 +#endif
16  }
17  
18  void