aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-21 02:13:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-02-21 02:13:49 +0000
commita4e577c228961cbd5f7d0810ebba2f5e1c46d3b3 (patch)
tree930bd643cc88bd94d590da3c63b163795eef68fc /package/madwifi
parent3a0d4a11c4da0a91ef029a75f2cd8a8181e64cb9 (diff)
downloadmaster-187ad058-a4e577c228961cbd5f7d0810ebba2f5e1c46d3b3.tar.gz
master-187ad058-a4e577c228961cbd5f7d0810ebba2f5e1c46d3b3.tar.bz2
master-187ad058-a4e577c228961cbd5f7d0810ebba2f5e1c46d3b3.zip
madwifi: minor ap scanning bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10513 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/333-apscan_mode.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/madwifi/patches/333-apscan_mode.patch b/package/madwifi/patches/333-apscan_mode.patch
new file mode 100644
index 0000000000..75a89fcfa1
--- /dev/null
+++ b/package/madwifi/patches/333-apscan_mode.patch
@@ -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) {
+