PERFORCE change 139469 for review

Sam Leffler sam at FreeBSD.org
Sun Apr 6 19:46:39 UTC 2008


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

Change 139469 by sam at 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
 }


More information about the p4-projects mailing list