add performance improvement for madwifi on low-memory systems
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 333-apscan_mode.patch
1 Index: madwifi-trunk-r3314/net80211/ieee80211_scan_ap.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/net80211/ieee80211_scan_ap.c 2008-02-21 02:42:12.885287851 +0100
4 +++ madwifi-trunk-r3314/net80211/ieee80211_scan_ap.c 2008-02-21 02:42:34.718532055 +0100
5 @@ -781,12 +783,6 @@
6 /* break the loop as the subsequent chans won't be
7 * better */
8 break;
9 -
10 - if (!IEEE80211_ARE_CHANS_SAME_MODE(c->chan,
11 - ic->ic_bsschan))
12 - /* break the loop as the subsequent chans won't be
13 - * better */
14 - break;
15 }
16
17 if (sta_assoc != 0) {
18