aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches-r3776/329-turbo_chansearch.patch
blob: 2c718c06e6cc2397a75c46d791fa0907af44a2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 &&