1 --- a/net80211/ieee80211_scan.c
2 +++ b/net80211/ieee80211_scan.c
3 @@ -1129,7 +1129,11 @@ ieee80211_scan_add_channels(struct ieee8
5 if (c->ic_scanflags & IEEE80211_NOSCAN_SET)
8 + if (ss->ss_vap->iv_opmode == IEEE80211_M_HOSTAP) {
9 + if ((c->ic_flags & (IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO)) !=
10 + (modeflags & (IEEE80211_CHAN_TURBO | IEEE80211_CHAN_STURBO)))
12 + } else if (modeflags &&
13 ((c->ic_flags & IEEE80211_CHAN_ALLTURBO) !=
14 (modeflags & IEEE80211_CHAN_ALLTURBO)))