e2ffb698d4258b7a271ccccd9f57af6bbe044d5c
[openwrt/staging/wigyori.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
4 +++ madwifi-trunk-r3314/net80211/ieee80211_scan_ap.c
5 @@ -781,12 +781,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) {