openwrtv3/package/madwifi/patches/365-turbo_channelsearch.patch
2008-07-16 16:30:03 +00:00

10 lines
245 B
Diff

--- 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 &&