PERFORCE change 139418 for review

Sam Leffler sam at FreeBSD.org
Sat Apr 5 16:23:10 UTC 2008


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

Change 139418 by sam at sam_ebb on 2008/04/05 16:22:21

	correct locking on detach

Affected files ...

.. //depot/projects/vap/sys/dev/ral/rt2560.c#25 edit
.. //depot/projects/vap/sys/dev/ral/rt2661.c#22 edit

Differences ...

==== //depot/projects/vap/sys/dev/ral/rt2560.c#25 (text) ====

@@ -360,7 +360,6 @@
 	struct ieee80211com *ic = ifp->if_l2com;
 	
 	rt2560_stop(sc);
-	RAL_LOCK(sc);
 
 	bpfdetach(ifp);
 	ieee80211_ifdetach(ic);

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

@@ -358,6 +358,7 @@
 	RAL_LOCK(sc);
 	rt2661_stop_locked(sc);
 	callout_stop(&sc->watchdog_ch);
+	RAL_UNLOCK(sc);
 
 	bpfdetach(ifp);
 	ieee80211_ifdetach(ic);


More information about the p4-projects mailing list