packages/net/madwifi/patches/333-apscan_mode.patch
nbd 27d674c623 move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 12:50:15 +00:00

16 lines
410 B
Diff

--- a/net80211/ieee80211_scan_ap.c
+++ b/net80211/ieee80211_scan_ap.c
@@ -783,12 +783,6 @@ pick_channel(struct ieee80211_scan_state
/* 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) {