From 570c86abd3bc4811ef0f47b5ba218df3e8d64584 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 21 Feb 2008 02:13:49 +0000 Subject: [PATCH] madwifi: minor ap scanning bugfix SVN-Revision: 10513 --- package/madwifi/patches/333-apscan_mode.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/madwifi/patches/333-apscan_mode.patch 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) { + -- 2.30.2