PERFORCE change 133371 for review

Sam Leffler sam at FreeBSD.org
Tue Jan 15 15:40:40 PST 2008


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

Change 133371 by sam at sam_ebb on 2008/01/15 23:39:42

	if_init takes the softc, not the ifp

Affected files ...

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

Differences ...

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

@@ -3048,7 +3048,7 @@
 			 * side-effect of bringing ourself up.
 			 */
 			if (vap->iv_state < IEEE80211_S_RUN)
-				ieee80211_init(ifp);
+				ieee80211_init(vap);
 		} else if (ifp->if_drv_flags & IFF_DRV_RUNNING) {
 			/*
 			 * Stop ourself.  If we are the last vap to be
@@ -3153,7 +3153,7 @@
 	 */
 	if (error == ENETRESET) {
 		if (IFNET_IS_UP_RUNNING(ifp))
-			ieee80211_init(ifp);
+			ieee80211_init(vap);
 		error = 0;
 	} else if (error == ERESTART) {
 		error = IFNET_IS_UP_RUNNING(ifp) ? vap->iv_reset(vap) : 0;


More information about the p4-projects mailing list