mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-12 00:44:03 +02:00
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
This commit is contained in:
parent
fbc4e8926b
commit
0fabc5d096
11
package/madwifi/patches/418-turbo.patch
Normal file
11
package/madwifi/patches/418-turbo.patch
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user