diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-03-19 10:31:30 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-03-19 10:31:30 +0000 |
commit | 8444b0cadab4fdb7af80707b92e82a2df183d82f (patch) | |
tree | 84f89ed3ff5fcf001b48c3e03a522c4380e69f3b /sys/dev/usb/dwc2 | |
parent | 8a2dc096f7398aeaecfb5a2d432e39cac203db40 (diff) |
Abort tasks are run in their own thead, that's why they need a special
type, from Patrick Wildt.
Diffstat (limited to 'sys/dev/usb/dwc2')
-rw-r--r-- | sys/dev/usb/dwc2/dwc2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/dwc2/dwc2.c b/sys/dev/usb/dwc2/dwc2.c index 1016bbc288b..5696789b5c7 100644 --- a/sys/dev/usb/dwc2/dwc2.c +++ b/sys/dev/usb/dwc2/dwc2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dwc2.c,v 1.23 2015/03/19 10:29:16 mpi Exp $ */ +/* $OpenBSD: dwc2.c,v 1.24 2015/03/19 10:31:29 mpi Exp $ */ /* $NetBSD: dwc2.c,v 1.32 2014/09/02 23:26:20 macallan Exp $ */ /*- @@ -463,7 +463,7 @@ dwc2_timeout(void *addr) /* Execute the abort in a process context. */ usb_init_task(&dxfer->abort_task, dwc2_timeout_task, addr, - USB_TASK_TYPE_GENERIC); + USB_TASK_TYPE_ABORT); usb_add_task(dxfer->xfer.pipe->device, &dxfer->abort_task); } |