summaryrefslogtreecommitdiff
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
commit0f5d018d814a2610d9005ab94c2147b83814d44e (patch)
tree9d7e79eb2c3f0ef9e9e596664ffae7aa3b43423b /package/madwifi
parentcb17bac6f8d3eb4725b903b53d27fec58145392b (diff)
downloadmtk-20170518-0f5d018d814a2610d9005ab94c2147b83814d44e.zip
mtk-20170518-0f5d018d814a2610d9005ab94c2147b83814d44e.tar.gz
mtk-20170518-0f5d018d814a2610d9005ab94c2147b83814d44e.tar.bz2
madwifi: minor ap scanning bugfix
SVN-Revision: 10513
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 0000000..75a89fc
--- /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) {
+