1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 05:43:20 +02:00

madwifi: minor ap scanning bugfix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10513 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-02-21 02:13:49 +00:00
parent 892f613a79
commit aec0714fc8

View File

@ -0,0 +1,18 @@
Index: madwifi-trunk-r3314/net80211/ieee80211_scan_ap.c
===================================================================
--- madwifi-trunk-r3314.orig/net80211/ieee80211_scan_ap.c 2008-02-21 02:42:12.885287851 +0100
+++ madwifi-trunk-r3314/net80211/ieee80211_scan_ap.c 2008-02-21 02:42:34.718532055 +0100
@@ -781,12 +783,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) {