diff options
| author | augustss <augustss@NetBSD.org> | 2003-02-19 01:35:04 +0000 |
|---|---|---|
| committer | augustss <augustss@NetBSD.org> | 2003-02-19 01:35:04 +0000 |
| commit | fe29dd94bedfb3094deeabe7cbf4e41fd1d23f84 (patch) | |
| tree | 52d8cfbaca10452e3289e8a71e7e9d9020839e07 /sys/dev | |
| parent | feaeb437d489e1bfa8b117d11b71d5c70e51eb87 (diff) | |
Bail out early in isoc_done if the ii is not on the interrupt list.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/uhci.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 98108775514..90d658462eb 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $NetBSD: uhci.c,v 1.169 2003/02/16 23:15:28 augustss Exp $ */ +/* $NetBSD: uhci.c,v 1.170 2003/02/19 01:35:04 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */ /* @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.169 2003/02/16 23:15:28 augustss Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.170 2003/02/19 01:35:04 augustss Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -2591,6 +2591,9 @@ uhci_device_isoc_done(usbd_xfer_handle xfer) /* Not on interrupt list, ignore it. */ return; + if (!uhci_active_intr_info(ii)) + return; + #ifdef DIAGNOSTIC if (xfer->busy_free != XFER_BUSY) { printf("uhci_device_isoc_done: xfer=%p not busy 0x%08x\n", |
