summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_ht.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-09-21 23:32:48 +0000
committersam <sam@FreeBSD.org>2008-09-21 23:32:48 +0000
commit40f433ee351dc5c31546fb51df1fb8be5e330955 (patch)
tree957750ff7b9a5698b5e5b05a68738d50ee4936bb /sys/net80211/ieee80211_ht.c
parent54cdf28d662617112e5e75269071b09f08075891 (diff)
downloadFreeBSD-src-40f433ee351dc5c31546fb51df1fb8be5e330955.zip
FreeBSD-src-40f433ee351dc5c31546fb51df1fb8be5e330955.tar.gz
don't propagate ht bss occupancy changes to legacy vaps;
they won't have an htinfo ie to update
Diffstat (limited to 'sys/net80211/ieee80211_ht.c')
-rw-r--r--sys/net80211/ieee80211_ht.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c
index 0a8328b..649441d 100644
--- a/sys/net80211/ieee80211_ht.c
+++ b/sys/net80211/ieee80211_ht.c
@@ -990,6 +990,9 @@ htinfo_notify(struct ieee80211com *ic)
TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
if (vap->iv_opmode != IEEE80211_M_HOSTAP)
continue;
+ if (vap->iv_state != IEEE80211_S_RUN ||
+ !IEEE80211_IS_CHAN_HT(vap->iv_bss->ni_chan))
+ continue;
if (first) {
IEEE80211_NOTE(vap,
IEEE80211_MSG_ASSOC | IEEE80211_MSG_11N,
OpenPOWER on IntegriCloud