1 diff -Nur madwifi-0.9.2.1/ath/if_ath.c madwifi-0.9.2.1-nodebug/ath/if_ath.c
2 --- madwifi-0.9.2.1/ath/if_ath.c 2006-07-08 08:47:19.000000000 +0200
3 +++ madwifi-0.9.2.1-nodebug/ath/if_ath.c 2007-02-20 11:48:05.000000000 +0100
5 #include <net80211/if_llc.h>
11 #include "if_athrate.h"
12 #include "net80211/if_athproto.h"
13 diff -Nur madwifi-0.9.2.1/ath_rate/amrr/amrr.c madwifi-0.9.2.1-nodebug/ath_rate/amrr/amrr.c
14 --- madwifi-0.9.2.1/ath_rate/amrr/amrr.c 2006-07-04 12:23:35.000000000 +0200
15 +++ madwifi-0.9.2.1-nodebug/ath_rate/amrr/amrr.c 2007-02-20 11:49:10.000000000 +0100
23 #define DPRINTF(sc, _fmt, ...) do { \
24 if (sc->sc_debug & 0x10) \
25 diff -Nur madwifi-0.9.2.1/ath_rate/onoe/onoe.c madwifi-0.9.2.1-nodebug/ath_rate/onoe/onoe.c
26 --- madwifi-0.9.2.1/ath_rate/onoe/onoe.c 2006-07-04 12:23:35.000000000 +0200
27 +++ madwifi-0.9.2.1-nodebug/ath_rate/onoe/onoe.c 2007-02-20 11:48:51.000000000 +0100
36 ATH_DEBUG_RATE = 0x00000010, /* rate control */
37 diff -Nur madwifi-0.9.2.1/ath_rate/sample/sample.c madwifi-0.9.2.1-nodebug/ath_rate/sample/sample.c
38 --- madwifi-0.9.2.1/ath_rate/sample/sample.c 2006-07-04 12:23:35.000000000 +0200
39 +++ madwifi-0.9.2.1-nodebug/ath_rate/sample/sample.c 2007-02-20 11:48:31.000000000 +0100
48 ATH_DEBUG_RATE = 0x00000010 /* rate control */
49 diff -Nur madwifi-0.9.2.1/net80211/ieee80211_var.h madwifi-0.9.2.1-nodebug/net80211/ieee80211_var.h
50 --- madwifi-0.9.2.1/net80211/ieee80211_var.h 2006-07-06 05:23:08.000000000 +0200
51 +++ madwifi-0.9.2.1-nodebug/net80211/ieee80211_var.h 2007-02-20 11:43:09.000000000 +0100
54 * Definitions for IEEE 802.11 drivers.
56 -#define IEEE80211_DEBUG
57 +#undef IEEE80211_DEBUG
58 #undef IEEE80211_DEBUG_REFCNT /* node refcnt stuff */
60 #include <net80211/ieee80211_linux.h>
61 diff -Nur madwifi-0.9.2.1/tools/do_multi.c madwifi-0.9.2.1-nodebug/tools/do_multi.c
62 --- madwifi-0.9.2.1/tools/do_multi.c 2007-02-20 11:53:44.000000000 +0100
63 +++ madwifi-0.9.2.1-nodebug/tools/do_multi.c 2007-02-20 11:58:22.000000000 +0100
66 progname = basename(argv[0]);
69 if(strcmp(progname, "80211debug") == 0)
70 ret = a80211debug_init(argc, argv);
72 if(strcmp(progname, "80211stats") == 0)
73 ret = a80211stats_init(argc, argv);
74 if(strcmp(progname, "athchans") == 0)
75 ret = athchans_init(argc, argv);
76 if(strcmp(progname, "athctrl") == 0)
77 ret = athctrl_init(argc, argv);
79 if(strcmp(progname, "athdebug") == 0)
80 ret = athdebug_init(argc, argv);
82 if(strcmp(progname, "athkey") == 0)
83 ret = athkey_init(argc, argv);
84 if(strcmp(progname, "athstats") == 0)
85 diff -Nur madwifi-0.9.2.1/tools/Makefile madwifi-0.9.2.1-nodebug/tools/Makefile
86 --- madwifi-0.9.2.1/tools/Makefile 2007-02-20 11:53:44.000000000 +0100
87 +++ madwifi-0.9.2.1-nodebug/tools/Makefile 2007-02-20 11:57:23.000000000 +0100
91 OBJS= do_multi.o athstats.o 80211stats.o athkey.o athchans.o athctrl.o \
92 - athdebug.o 80211debug.o wlanconfig.o
94 ALL= ${OBJS} madwifi_multi
98 ${CC} -c -o do_multi.o -DDOMULTI=1 ${ALL_CFLAGS} do_multi.c
100 ${CC} -o madwifi_multi ${LDFLAGS} ${OBJS}
101 - for i in athstats 80211stats athkey athchans athctrl athdebug wlanconfig 80211debug; do \
102 + for i in athstats 80211stats athkey athchans athctrl wlanconfig; do \
103 ln -s -f madwifi_multi $$i; \