aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/333-apscan_mode.patch
blob: e2ffb698d4258b7a271ccccd9f57af6bbe044d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: madwifi-trunk-r3314/net80211/ieee80211_scan_ap.c
===================================================================
--- madwifi-trunk-r3314.orig/net80211/ieee80211_scan_ap.c
+++ madwifi-trunk-r3314/net80211/ieee80211_scan_ap.c
@@ -781,12 +781,6 @@
 				/* break the loop as the subsequent chans won't be 
 				 * better */
 				break;
-
-			if (!IEEE80211_ARE_CHANS_SAME_MODE(c->chan,
-				ic->ic_bsschan))
-				/* break the loop as the subsequent chans won't be 
-				 * better */
-				break;
 		}
 
 		if (sta_assoc != 0) {