summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches-r3776/329-turbo_chansearch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches-r3776/329-turbo_chansearch.patch')
-rw-r--r--package/madwifi/patches-r3776/329-turbo_chansearch.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/patches-r3776/329-turbo_chansearch.patch b/package/madwifi/patches-r3776/329-turbo_chansearch.patch
new file mode 100644
index 000000000..2c718c06e
--- /dev/null
+++ b/package/madwifi/patches-r3776/329-turbo_chansearch.patch
@@ -0,0 +1,12 @@
+Index: madwifi-trunk-r3776/net80211/ieee80211.c
+===================================================================
+--- madwifi-trunk-r3776.orig/net80211/ieee80211.c 2008-07-17 03:07:53.000000000 +0200
++++ madwifi-trunk-r3776/net80211/ieee80211.c 2008-07-17 04:12:08.000000000 +0200
+@@ -695,6 +695,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 &&