aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/333-apscan_mode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches/333-apscan_mode.patch')
-rw-r--r--package/madwifi/patches/333-apscan_mode.patch15
1 files changed, 15 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 000000000..877eea6ce
--- /dev/null
+++ b/package/madwifi/patches/333-apscan_mode.patch
@@ -0,0 +1,15 @@
+--- 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) {