openwrt/package/madwifi/patches-r3776/329-turbo_chansearch.patch

13 lines
474 B
Diff

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