aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/418-turbo.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-07 11:32:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-07 11:32:43 +0000
commitb4574b5b03437da68522be96dcc28634d9f0f42a (patch)
treee49c543b8a2e0422647637b0bfb79e0a858606f8 /package/madwifi/patches/418-turbo.patch
parentb9c49af8a551c71b98228d0343a11e4402f174e0 (diff)
downloadupstream-b4574b5b03437da68522be96dcc28634d9f0f42a.tar.gz
upstream-b4574b5b03437da68522be96dcc28634d9f0f42a.tar.bz2
upstream-b4574b5b03437da68522be96dcc28634d9f0f42a.zip
madwifi: improve mode selection, do not scan channels which do not fit the desired mode
SVN-Revision: 15663
Diffstat (limited to 'package/madwifi/patches/418-turbo.patch')
-rw-r--r--package/madwifi/patches/418-turbo.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/madwifi/patches/418-turbo.patch b/package/madwifi/patches/418-turbo.patch
deleted file mode 100644
index 4e13f90d20..0000000000
--- a/package/madwifi/patches/418-turbo.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/net80211/ieee80211_scan.c
-+++ b/net80211/ieee80211_scan.c
-@@ -1129,7 +1129,11 @@ ieee80211_scan_add_channels(struct ieee8
- continue;
- if (c->ic_scanflags & IEEE80211_NOSCAN_SET)
- continue;
-- if (modeflags &&
-+ if (ss->ss_vap->iv_opmode == IEEE80211_M_HOSTAP) {
-+ if ((c->ic_flags & (IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO)) !=
-+ (modeflags & (IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO)))
-+ continue;
-+ } else if (modeflags &&
- ((c->ic_flags & IEEE80211_CHAN_ALLTURBO) !=
- (modeflags & IEEE80211_CHAN_ALLTURBO)))
- continue;