summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ehci.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-06-23 14:09:43 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-06-23 14:09:43 +0000
commitaa75ebf313a89bd5e1d910163525265740fa75f6 (patch)
tree552030f20a502190191331d0cad3e56b06f92ecd /sys/dev/usb/ehci.c
parenta6f610b178f3d483243f93e5b9f5f11f1c7815a6 (diff)
Fix a bad copy/paste; when starting an isochronous transfer set the
first and last qTD pointers to NULL because only iTDs will be used. Part of a larger diff from Gerhard Roth
Diffstat (limited to 'sys/dev/usb/ehci.c')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 4191a740564..491313c68a7 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.121 2012/05/13 08:37:52 mpi Exp $ */
+/* $OpenBSD: ehci.c,v 1.122 2012/06/23 14:09:42 mpi Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -3973,7 +3973,7 @@ ehci_device_isoc_start(usbd_xfer_handle xfer)
exfer->itdstart = start;
exfer->itdend = stop;
exfer->sqtdstart = NULL;
- exfer->sqtdstart = NULL;
+ exfer->sqtdend = NULL;
ehci_add_intr_list(sc, exfer);
xfer->status = USBD_IN_PROGRESS;