summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/365-turbo_channelsearch.patch
blob: df4306b2120667e236d5bf7eeeeb01e852a48ad3 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/net80211/ieee80211.c
+++ b/net80211/ieee80211.c
@@ -684,6 +684,7 @@ ieee80211_find_channel(struct ieee80211c
 	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 &&