Mark 6tunnel as executable, avoids ": /etc/init.d/rcS: line 8: /etc/rc.d/S466tunnel...
[openwrt.git] / package / madwifi / patches / 200-no_debug.patch
1 Index: madwifi-ng-r2756-20071018/ath/if_ath.c
2 ===================================================================
3 --- madwifi-ng-r2756-20071018.orig/ath/if_ath.c 2007-10-24 06:20:20.213841201 +0200
4 +++ madwifi-ng-r2756-20071018/ath/if_ath.c 2007-10-24 06:20:20.433853739 +0200
5 @@ -75,7 +75,7 @@
6 #include <net80211/if_llc.h>
7 #endif
8
9 -#define AR_DEBUG
10 +#undef AR_DEBUG
11
12 #include "net80211/if_athproto.h"
13 #include "if_athvar.h"
14 Index: madwifi-ng-r2756-20071018/ath_rate/amrr/amrr.c
15 ===================================================================
16 --- madwifi-ng-r2756-20071018.orig/ath_rate/amrr/amrr.c 2007-10-24 06:20:16.253615519 +0200
17 +++ madwifi-ng-r2756-20071018/ath_rate/amrr/amrr.c 2007-10-24 06:20:20.433853739 +0200
18 @@ -70,7 +70,7 @@
19
20 #include "amrr.h"
21
22 -#define AMRR_DEBUG
23 +#undef AMRR_DEBUG
24 #ifdef AMRR_DEBUG
25 #define DPRINTF(sc, _fmt, ...) do { \
26 if (sc->sc_debug & 0x10) \
27 Index: madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c
28 ===================================================================
29 --- madwifi-ng-r2756-20071018.orig/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:18.217727448 +0200
30 +++ madwifi-ng-r2756-20071018/ath_rate/minstrel/minstrel.c 2007-10-24 06:20:20.441854191 +0200
31 @@ -117,7 +117,7 @@
32
33 #include "minstrel.h"
34
35 -#define MINSTREL_DEBUG
36 +#undef MINSTREL_DEBUG
37 #ifdef MINSTREL_DEBUG
38 enum {
39 ATH_DEBUG_RATE = 0x00000010 /* rate control */
40 Index: madwifi-ng-r2756-20071018/ath_rate/onoe/onoe.c
41 ===================================================================
42 --- madwifi-ng-r2756-20071018.orig/ath_rate/onoe/onoe.c 2007-10-24 06:20:16.269616432 +0200
43 +++ madwifi-ng-r2756-20071018/ath_rate/onoe/onoe.c 2007-10-24 06:20:20.445854420 +0200
44 @@ -66,7 +66,7 @@
45
46 #include "onoe.h"
47
48 -#define ONOE_DEBUG
49 +#undef ONOE_DEBUG
50 #ifdef ONOE_DEBUG
51 enum {
52 ATH_DEBUG_RATE = 0x00000010, /* rate control */
53 Index: madwifi-ng-r2756-20071018/ath_rate/sample/sample.c
54 ===================================================================
55 --- madwifi-ng-r2756-20071018.orig/ath_rate/sample/sample.c 2007-10-24 06:20:16.277616884 +0200
56 +++ madwifi-ng-r2756-20071018/ath_rate/sample/sample.c 2007-10-24 06:20:20.449854648 +0200
57 @@ -68,7 +68,7 @@
58
59 #include "sample.h"
60
61 -#define SAMPLE_DEBUG
62 +#undef SAMPLE_DEBUG
63 #ifdef SAMPLE_DEBUG
64 enum {
65 ATH_DEBUG_NODE = 0x00080000, /* node management */
66 Index: madwifi-ng-r2756-20071018/net80211/ieee80211_var.h
67 ===================================================================
68 --- madwifi-ng-r2756-20071018.orig/net80211/ieee80211_var.h 2007-10-24 06:20:16.285617342 +0200
69 +++ madwifi-ng-r2756-20071018/net80211/ieee80211_var.h 2007-10-24 06:20:20.453854879 +0200
70 @@ -35,8 +35,8 @@
71 #ifndef _NET80211_IEEE80211_VAR_H_
72 #define _NET80211_IEEE80211_VAR_H_
73
74 -#define IEEE80211_DEBUG
75 -#define IEEE80211_DEBUG_REFCNT /* Node reference count debugging */
76 +#undef IEEE80211_DEBUG
77 +#undef IEEE80211_DEBUG_REFCNT /* Node reference count debugging */
78
79 /* Definitions for IEEE 802.11 drivers. */
80 #include <net80211/ieee80211_linux.h>
81 Index: madwifi-ng-r2756-20071018/tools/do_multi.c
82 ===================================================================
83 --- madwifi-ng-r2756-20071018.orig/tools/do_multi.c 2007-10-24 06:20:17.249672281 +0200
84 +++ madwifi-ng-r2756-20071018/tools/do_multi.c 2007-10-24 06:20:20.453854879 +0200
85 @@ -9,16 +9,20 @@
86
87 progname = basename(argv[0]);
88
89 +#if 0
90 if(strcmp(progname, "80211debug") == 0)
91 ret = a80211debug_init(argc, argv);
92 +#endif
93 if(strcmp(progname, "80211stats") == 0)
94 ret = a80211stats_init(argc, argv);
95 if(strcmp(progname, "athchans") == 0)
96 ret = athchans_init(argc, argv);
97 if(strcmp(progname, "athctrl") == 0)
98 ret = athctrl_init(argc, argv);
99 +#if 0
100 if(strcmp(progname, "athdebug") == 0)
101 ret = athdebug_init(argc, argv);
102 +#endif
103 if(strcmp(progname, "athkey") == 0)
104 ret = athkey_init(argc, argv);
105 if(strcmp(progname, "athstats") == 0)
106 Index: madwifi-ng-r2756-20071018/tools/Makefile
107 ===================================================================
108 --- madwifi-ng-r2756-20071018.orig/tools/Makefile 2007-10-24 06:20:17.253672511 +0200
109 +++ madwifi-ng-r2756-20071018/tools/Makefile 2007-10-24 06:20:20.453854879 +0200
110 @@ -48,7 +48,7 @@
111
112
113 ALLPROGS= athstats 80211stats athkey athchans athctrl \
114 - athdebug 80211debug wlanconfig ath_info
115 + wlanconfig ath_info
116
117 OBJS= $(patsubst %,%.o,$(ALLPROGS) do_multi)
118 ALL= ${OBJS} madwifi_multi
119 @@ -84,7 +84,7 @@
120 ${CC} -c -o do_multi.o -DDOMULTI=1 ${ALL_CFLAGS} do_multi.c
121 madwifi_multi: $(OBJS)
122 ${CC} -o madwifi_multi ${LDFLAGS} ${OBJS}
123 - for i in athstats 80211stats athkey athchans athctrl athdebug wlanconfig 80211debug; do \
124 + for i in athstats 80211stats athkey athchans athctrl wlanconfig; do \
125 ln -s -f madwifi_multi $$i; \
126 done
127
This page took 0.044743 seconds and 5 git commands to generate.