Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 22:00:54 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136855 for review
Message-ID:  <200803042200.m24M0s0R056626@repoman.freebsd.org>

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

Change 136855 by sam@sam_ebb on 2008/03/04 22:00:22

	when a vap is marked UP check if we are not in the INIT state
	to decide whether to clock the state machine; checking RUN
	is wrong and have bad side-effects like flushing the scan cache

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#34 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_ioctl.c#34 (text+ko) ====

@@ -3053,7 +3053,7 @@
 			 * then it will automatically be brought up as a
 			 * side-effect of bringing ourself up.
 			 */
-			if (vap->iv_state < IEEE80211_S_RUN)
+			if (vap->iv_state == IEEE80211_S_INIT)
 				ieee80211_init(vap);
 		} else if (ifp->if_drv_flags & IFF_DRV_RUNNING) {
 			/*



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