Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Make sure all tasks are remove on detach.



details:   https://anonhg.NetBSD.org/src/rev/44b08572312b
branches:  trunk
changeset: 508539:44b08572312b
user:      augustss <augustss%NetBSD.org@localhost>
date:      Thu Apr 12 23:54:56 2001 +0000

description:
Make sure all tasks are remove on detach.

diffstat:

 sys/dev/usb/if_cue.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f800b36ab6f4 -r 44b08572312b sys/dev/usb/if_cue.c
--- a/sys/dev/usb/if_cue.c      Thu Apr 12 23:52:22 2001 +0000
+++ b/sys/dev/usb/if_cue.c      Thu Apr 12 23:54:56 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_cue.c,v 1.33 2001/01/29 01:24:43 enami Exp $        */
+/*     $NetBSD: if_cue.c,v 1.34 2001/04/12 23:54:56 augustss Exp $     */
 /*
  * Copyright (c) 1997, 1998, 1999, 2000
  *     Bill Paul <wpaul%ee.columbia.edu@localhost>.  All rights reserved.
@@ -611,6 +611,7 @@
         * in the same thread as detach.
         */
        usb_rem_task(sc->cue_udev, &sc->cue_tick_task);
+       usb_rem_task(sc->cue_udev, &sc->cue_stop_task);
 
        if (!sc->cue_attached) {
                /* Detached before attached finished, so just bail out. */



Home | Main Index | Thread Index | Old Index