wprobe: add init script for exporter
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 418-turbo.patch
1 --- a/net80211/ieee80211_scan.c
2 +++ b/net80211/ieee80211_scan.c
3 @@ -1129,7 +1129,7 @@ ieee80211_scan_add_channels(struct ieee8
4 continue;
5 if (c->ic_scanflags & IEEE80211_NOSCAN_SET)
6 continue;
7 - if (modeflags &&
8 + if ((modeflags || (ss->ss_vap->iv_opmode == IEEE80211_M_HOSTAP)) &&
9 ((c->ic_flags & IEEE80211_CHAN_ALLTURBO) !=
10 (modeflags & IEEE80211_CHAN_ALLTURBO)))
11 continue;