aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches-r3776/201-no_debug_extra.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-18 22:49:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-18 22:49:27 +0000
commit4ea7be4623742640021f5d5bae8806bf51715232 (patch)
treee7efc46ba728f6db0ce2af68dcee170f014d8b42 /package/madwifi/patches-r3776/201-no_debug_extra.patch
parentdf41dbe6e1eeb8b94012e6f361cb1668d955857b (diff)
downloadupstream-4ea7be4623742640021f5d5bae8806bf51715232.tar.gz
upstream-4ea7be4623742640021f5d5bae8806bf51715232.tar.bz2
upstream-4ea7be4623742640021f5d5bae8806bf51715232.zip
fix some madwifi-testing bugs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches-r3776/201-no_debug_extra.patch')
-rw-r--r--package/madwifi/patches-r3776/201-no_debug_extra.patch25
1 files changed, 1 insertions, 24 deletions
diff --git a/package/madwifi/patches-r3776/201-no_debug_extra.patch b/package/madwifi/patches-r3776/201-no_debug_extra.patch
index 693c1f9eec..f1fe4aff52 100644
--- a/package/madwifi/patches-r3776/201-no_debug_extra.patch
+++ b/package/madwifi/patches-r3776/201-no_debug_extra.patch
@@ -33,27 +33,4 @@ 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 = &params;
- }
-+#endif
-
- sort(chans, ss_last, sizeof(*chans), pc_cmp, pc_swap);
-
+