mirror of https://github.com/hak5/openwrt.git
16 lines
369 B
Diff
16 lines
369 B
Diff
--- a/net80211/ieee80211_scan_ap.c
|
|
+++ b/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) {
|