summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches-testing/329-turbo_chansearch.patch
blob: ba8b01c12ff57b43ee8c9d91a6238c1be36d7efc (plain)
1
2
3
4
5
6
7
8
9
10
--- a/net80211/ieee80211.c
+++ b/net80211/ieee80211.c
@@ -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 &&