Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb We need to delete the transfer from the int...



details:   https://anonhg.NetBSD.org/src/rev/7fbdaecf289e
branches:  nick-nhusb
changeset: 334408:7fbdaecf289e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 21 07:04:13 2016 +0000

description:
We need to delete the transfer from the interrupt list in
ehci_abort_isoc_xfer

diffstat:

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

diffs (26 lines):

diff -r 42ee6c4a3816 -r 7fbdaecf289e sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Fri Feb 19 16:23:15 2016 +0000
+++ b/sys/dev/usb/ehci.c        Sun Feb 21 07:04:13 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.87 2016/02/19 16:23:15 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.88 2016/02/21 07:04:13 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.87 2016/02/19 16:23:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.88 2016/02/21 07:04:13 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -3425,6 +3425,7 @@
 
        xfer->ux_status = status;
        callout_stop(&xfer->ux_callout);
+       ehci_del_intr_list(sc, exfer);
 
        if (xfer->ux_pipe->up_dev->ud_speed == USB_SPEED_HIGH) {
                for (itd = exfer->ex_itdstart; itd != NULL;



Home | Main Index | Thread Index | Old Index