]> git.ipfire.org Git - people/mlorenz/ipfire-2.x.git/blob - src/patches/xradio/disable_warnings.patch
674e5dc38770c9e3384837ae25bca8abc0947c6e
[people/mlorenz/ipfire-2.x.git] / src / patches / xradio / disable_warnings.patch
1 diff -Naur a/debug.h b/debug.h
2 --- a/debug.h 2020-05-02 17:17:06.000000000 +0000
3 +++ b/debug.h 2021-05-26 06:42:41.347972240 +0000
4 @@ -21,13 +21,13 @@
5 #define XRADIO_DBG_DEV 0x40 /* current dev */
6
7 /* debug levels, default 0x07 */
8 -#define XRADIO_DBG_LEV_AP 0x47 /* ap */
9 -#define XRADIO_DBG_LEV_PM 0x47 /* pm */
10 -#define XRADIO_DBG_LEV_SCAN 0x47 /* scan */
11 -#define XRADIO_DBG_LEV_STA 0x47 /* sta, keys */
12 -#define XRADIO_DBG_LEV_TXRX 0x47 /* tx, rx, ht, p2p, queue */
13 -#define XRADIO_DBG_LEV_WSM 0x47 /* wsm */
14 -#define XRADIO_DBG_LEV_XR 0x47 /* xradio, fwio, sdio, bh */
15 +#define XRADIO_DBG_LEV_AP 0x03 /* ap */
16 +#define XRADIO_DBG_LEV_PM 0x03 /* pm */
17 +#define XRADIO_DBG_LEV_SCAN 0x03 /* scan */
18 +#define XRADIO_DBG_LEV_STA 0x03 /* sta, keys */
19 +#define XRADIO_DBG_LEV_TXRX 0x03 /* tx, rx, ht, p2p, queue */
20 +#define XRADIO_DBG_LEV_WSM 0x03 /* wsm */
21 +#define XRADIO_DBG_LEV_XR 0x03 /* xradio, fwio, sdio, bh */
22
23 #define ap_printk(level, ...) \
24 do { \