summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/365-turbo_channelsearch.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-16 16:30:03 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-16 16:30:03 +0000
commite617fcefcd55b1184a1626ce34ab898832208862 (patch)
treebd7f6ab4d4da324d05a00a8f7017a3a5300e6ab6 /package/madwifi/patches/365-turbo_channelsearch.patch
parentcb95ce1434055cb99b5106434485581b5647d641 (diff)
add some madwifi fixes and enhancements by Sven-Ola, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11848 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/365-turbo_channelsearch.patch')
-rw-r--r--package/madwifi/patches/365-turbo_channelsearch.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/madwifi/patches/365-turbo_channelsearch.patch b/package/madwifi/patches/365-turbo_channelsearch.patch
new file mode 100644
index 000000000..31caa1bfe
--- /dev/null
+++ b/package/madwifi/patches/365-turbo_channelsearch.patch
@@ -0,0 +1,10 @@
+--- a/net80211/ieee80211.c
++++ b/net80211/ieee80211.c
+@@ -684,6 +684,7 @@
+ int i;
+
+ /* Brute force search */
++ flags &= IEEE80211_CHAN_ALLTURBO;
+ for (i = 0; i < ic->ic_nchans; i++) {
+ c = &ic->ic_channels[i];
+ if (c->ic_freq == freq &&