Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2008 23:40:39 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 133371 for review
Message-ID:  <200801152340.m0FNedIB002563@repoman.freebsd.org>

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

Change 133371 by sam@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;



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