diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-29 00:11:00 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-29 00:11:00 +0000 |
commit | 1e8dc6d85e786a00ca836fe6591d64e3b8f0ad4a (patch) | |
tree | e282cf5a7358ebd21765a9ed5fe56661f373c639 /package/madwifi | |
parent | 540967d4842d9ec2a7620d60e4df13495524f0d8 (diff) | |
download | upstream-1e8dc6d85e786a00ca836fe6591d64e3b8f0ad4a.tar.gz upstream-1e8dc6d85e786a00ca836fe6591d64e3b8f0ad4a.tar.bz2 upstream-1e8dc6d85e786a00ca836fe6591d64e3b8f0ad4a.zip |
madwifi: do not use turbo mode during ap mode autoselection unless specifically requested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15060 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r-- | package/madwifi/patches/418-turbo.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/418-turbo.patch b/package/madwifi/patches/418-turbo.patch new file mode 100644 index 0000000000..ec0b49182d --- /dev/null +++ b/package/madwifi/patches/418-turbo.patch @@ -0,0 +1,11 @@ +--- a/net80211/ieee80211_scan.c ++++ b/net80211/ieee80211_scan.c +@@ -1129,7 +1129,7 @@ ieee80211_scan_add_channels(struct ieee8 + continue; + if (c->ic_scanflags & IEEE80211_NOSCAN_SET) + continue; +- if (modeflags && ++ if ((modeflags || (ss->ss_vap->iv_opmode == IEEE80211_M_HOSTAP)) && + ((c->ic_flags & IEEE80211_CHAN_ALLTURBO) != + (modeflags & IEEE80211_CHAN_ALLTURBO))) + continue; |