X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/613e530afeab2eb78d7b4100420fd305662beab1..fae1bbc01e16e048d3a3ac33e6afe3b43aac0d92:/package/madwifi/patches-r3776/201-no_debug_extra.patch?ds=sidebyside diff --git a/package/madwifi/patches-r3776/201-no_debug_extra.patch b/package/madwifi/patches-r3776/201-no_debug_extra.patch index 693c1f9ee..0e26d5f39 100644 --- a/package/madwifi/patches-r3776/201-no_debug_extra.patch +++ b/package/madwifi/patches-r3776/201-no_debug_extra.patch @@ -1,7 +1,5 @@ -Index: madwifi-trunk-r3776/ath/if_ath.c -=================================================================== ---- madwifi-trunk-r3776.orig/ath/if_ath.c 2008-07-17 01:15:21.000000000 +0200 -+++ madwifi-trunk-r3776/ath/if_ath.c 2008-07-17 01:20:11.000000000 +0200 +--- a/ath/if_ath.c ++++ b/ath/if_ath.c @@ -423,8 +423,8 @@ "defaults to '" DEF_RATE_CTL "'"); MODULE_PARM_DESC(intmit, "Enable interference mitigation by default. Default is 0."); @@ -33,27 +31,3 @@ Index: madwifi-trunk-r3776/ath/if_ath.c ic->ic_wme.wme_update = ath_wme_update; ic->ic_uapsd_flush = ath_uapsd_flush; -Index: madwifi-trunk-r3776/net80211/ieee80211_scan_ap.c -=================================================================== ---- madwifi-trunk-r3776.orig/net80211/ieee80211_scan_ap.c 2008-07-17 00:21:29.000000000 +0200 -+++ madwifi-trunk-r3776/net80211/ieee80211_scan_ap.c 2008-07-17 01:25:32.000000000 +0200 -@@ -790,15 +790,18 @@ - struct ap_state *as = ss->ss_priv; - struct channel chans[ss_last]; /* actually ss_last-1 is required */ - struct channel *c = NULL; -- struct pc_params params = { vap, ss, flags }; - int benefit = 0; - int sta_assoc = 0; - -+#ifdef IEEE80211_DEBUG -+ struct pc_params params = { vap, ss, flags }; -+ - for (i = 0; i < ss_last; i++) { - chans[i].chan = ss->ss_chans[i]; - chans[i].orig = i; - chans[i].params = ¶ms; - } -+#endif - - sort(chans, ss_last, sizeof(*chans), pc_cmp, pc_swap); -