From aa75ebf313a89bd5e1d910163525265740fa75f6 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Sat, 23 Jun 2012 14:09:43 +0000 Subject: 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 --- sys/dev/usb/ehci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb') 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; -- cgit v1.2.3