aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/365-turbo_channelsearch.patch
diff options
context:
space:
mode:
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 0000000000..31caa1bfe7
--- /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 &&