madwifi: if a txpower value below the poweroffset is requested, set the internal...
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 365-turbo_channelsearch.patch
1 --- a/net80211/ieee80211.c
2 +++ b/net80211/ieee80211.c
3 @@ -684,6 +684,7 @@ ieee80211_find_channel(struct ieee80211c
4 int i;
5
6 /* Brute force search */
7 + flags &= IEEE80211_CHAN_ALLTURBO;
8 for (i = 0; i < ic->ic_nchans; i++) {
9 c = &ic->ic_channels[i];
10 if (c->ic_freq == freq &&