Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2008 19:46:38 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 139469 for review
Message-ID:  <200804061946.m36Jkc7a012372@repoman.freebsd.org>

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

Change 139469 by sam@sam_ebb on 2008/04/06 19:46:21

	move the softc lock to cover setting if_flags in the init method

Affected files ...

.. //depot/projects/vap/sys/dev/ral/rt2661.c#23 edit

Differences ...

==== //depot/projects/vap/sys/dev/ral/rt2661.c#23 (text) ====

@@ -2447,11 +2447,12 @@
 
 	/* kick Rx */
 	RAL_WRITE(sc, RT2661_RX_CNTL_CSR, 1);
-	RAL_UNLOCK(sc);
 
 	ifp->if_drv_flags &= ~IFF_DRV_OACTIVE;
 	ifp->if_drv_flags |= IFF_DRV_RUNNING;
 
+	RAL_UNLOCK(sc);
+
 	ieee80211_start_all(ic);		/* start all vap's */
 #undef N
 }



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