PERFORCE change 136855 for review
    Sam Leffler 
    sam at FreeBSD.org
       
    Tue Mar  4 22:00:55 UTC 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=136855
Change 136855 by sam at 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) {
 			/*
    
    
More information about the p4-projects
mailing list