summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/365-turbo_channelsearch.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-16 16:30:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-16 16:30:03 +0000
commit0fb8aa363f2972009439cee7351d1e2289652cdb (patch)
tree1bb03ad2ecc44f24459076e115630a010ca7c65a /package/madwifi/patches/365-turbo_channelsearch.patch
parent7ac73f836285ad39ea7831ef8c04dcf645b4a8cd (diff)
downloadmtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.zip
mtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.tar.gz
mtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.tar.bz2
add some madwifi fixes and enhancements by Sven-Ola, refresh patches
SVN-Revision: 11848
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 0000000..31caa1b
--- /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 &&