use the Download/ macro to get ACX firmwares
[openwrt.git] / package / madwifi / patches-testing / 201-no_debug_extra.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -423,8 +423,8 @@
4 "defaults to '" DEF_RATE_CTL "'");
5 MODULE_PARM_DESC(intmit, "Enable interference mitigation by default. Default is 0.");
6
7 -static int ath_debug = 0;
8 #ifdef AR_DEBUG
9 +static int ath_debug = 0;
10 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,52))
11 MODULE_PARM(ath_debug, "i");
12 #else
13 @@ -435,8 +435,8 @@
14 static void ath_printtxbuf(const struct ath_buf *, int);
15 #endif /* defined(AR_DEBUG) */
16
17 -static int ieee80211_debug = 0;
18 #ifdef AR_DEBUG
19 +static int ieee80211_debug = 0;
20 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,52))
21 MODULE_PARM(ieee80211_debug, "i");
22 #else
23 @@ -853,8 +853,10 @@
24 ic->ic_updateslot = ath_updateslot;
25 atomic_set(&ic->ic_node_counter, 0);
26 ic->ic_debug = 0;
27 +#ifdef AR_DEBUG
28 sc->sc_debug = (ath_debug & ~ATH_DEBUG_GLOBAL);
29 sc->sc_default_ieee80211_debug = ieee80211_debug;
30 +#endif
31
32 ic->ic_wme.wme_update = ath_wme_update;
33 ic->ic_uapsd_flush = ath_uapsd_flush;
This page took 0.041949 seconds and 5 git commands to generate.