PERFORCE change 149355 for review

Sam Leffler sam at FreeBSD.org
Sat Sep 6 21:41:33 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=149355

Change 149355 by sam at sam_ebb on 2008/09/06 21:41:24

	can't assume ni_chan is setup unless in RUN state

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ht.c#46 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_ht.c#46 (text+ko) ====

@@ -995,7 +995,8 @@
 	TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
 		if (vap->iv_opmode != IEEE80211_M_HOSTAP)
 			continue;
-		if (!IEEE80211_IS_CHAN_HT(vap->iv_bss->ni_chan))
+		if (vap->iv_state != IEEE80211_S_RUN ||
+		    !IEEE80211_IS_CHAN_HT(vap->iv_bss->ni_chan))
 			continue;
 		if (first) {
 			IEEE80211_NOTE(vap,


More information about the p4-projects mailing list