Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2008 21:41:32 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149355 for review
Message-ID:  <200809062141.m86LfWDF058154@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149355

Change 149355 by sam@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809062141.m86LfWDF058154>