Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 03:26:39 GMT
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 133214 for review
Message-ID:  <200801140326.m0E3Qd9N003138@repoman.freebsd.org>

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

Change 133214 by sephe@sephe_zealot:sam_wifi on 2008/01/14 03:25:54

	Always stop watchdog callout in rt2661_stop()

Affected files ...

.. //depot/projects/wifi/sys/dev/ral/rt2661.c#20 edit

Differences ...

==== //depot/projects/wifi/sys/dev/ral/rt2661.c#20 (text) ====

@@ -401,9 +401,8 @@
 	struct rt2661_softc *sc = xsc;
 	struct ieee80211com *ic = &sc->sc_ic;
 	struct ifnet *ifp = ic->ic_ifp;
-	
+
 	rt2661_stop(sc);
-	callout_stop(&sc->watchdog_ch);
 	callout_stop(&sc->rssadapt_ch);
 
 	bpfdetach(ifp);
@@ -2670,6 +2669,7 @@
 
 	RAL_LOCK(sc);
 	rt2661_stop_locked(sc);
+	callout_stop(&sc->watchdog_ch);
 	RAL_UNLOCK(sc);
 }
 



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