PERFORCE change 140629 for review
Sam Leffler
sam at FreeBSD.org
Fri Apr 25 19:21:56 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=140629
Change 140629 by sam at sam_ebb on 2008/04/25 19:21:03
loopback fix
Affected files ...
.. //depot/projects/vap/sys/dev/usb/if_rum.c#18 integrate
Differences ...
==== //depot/projects/vap/sys/dev/usb/if_rum.c#18 (text+ko) ====
@@ -1,4 +1,4 @@
-/* $FreeBSD: src/sys/dev/usb/if_rum.c,v 1.18 2008/04/20 20:35:38 sam Exp $ */
+/* $FreeBSD: src/sys/dev/usb/if_rum.c,v 1.19 2008/04/25 19:13:38 sam Exp $ */
/*-
* Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini at free.fr>
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/sys/dev/usb/if_rum.c,v 1.18 2008/04/20 20:35:38 sam Exp $");
+__FBSDID("$FreeBSD: src/sys/dev/usb/if_rum.c,v 1.19 2008/04/25 19:13:38 sam Exp $");
/*-
* Ralink Technology RT2501USB/RT2601USB chipset driver
@@ -816,13 +816,14 @@
struct ieee80211com *ic = vap->iv_ic;
struct rum_softc *sc = ic->ic_ifp->if_softc;
+ usb_rem_task(sc->sc_udev, &sc->sc_task);
+ usb_rem_task(sc->sc_udev, &sc->sc_scantask);
callout_stop(&rvp->amrr_ch);
/* do it in a process context */
sc->sc_state = nstate;
sc->sc_arg = arg;
- usb_rem_task(sc->sc_udev, &sc->sc_task);
if (nstate == IEEE80211_S_INIT) {
rvp->newstate(vap, nstate, arg);
return 0;
More information about the p4-projects
mailing list