Now that aborting interrupt pipes does not prevent us from freeing
the associated xfer, make sure to flag this xfer as "done" even if
there's no need to abort it in hardware.
-/* $OpenBSD: ehci.c,v 1.151 2014/05/04 14:42:36 mpi Exp $ */
+/* $OpenBSD: ehci.c,v 1.152 2014/05/08 14:00:52 mpi Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
xfer->status = status; /* make software ignore it */
timeout_del(&xfer->timeout_handle);
usb_rem_task(xfer->device, &xfer->abort_task);
+#ifdef DIAGNOSTIC
+ ex->isdone = 1;
+#endif
usb_transfer_complete(xfer);
splx(s);
return;
-/* $OpenBSD: uhci.c,v 1.114 2014/05/04 14:42:36 mpi Exp $ */
+/* $OpenBSD: uhci.c,v 1.115 2014/05/08 14:00:52 mpi Exp $ */
/* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
xfer->status = status; /* make software ignore it */
timeout_del(&xfer->timeout_handle);
usb_rem_task(xfer->device, &xfer->abort_task);
+#ifdef DIAGNOSTIC
+ ux->isdone = 1;
+#endif
usb_transfer_complete(xfer);
splx(s);
return;