diff options
author | 2015-03-19 10:31:29 +0000 | |
---|---|---|
committer | 2015-03-19 10:31:29 +0000 | |
commit | ba7e0cae12882d0e62bcd9516062c2985e36f2e5 (patch) | |
tree | 873fc7070112e48e1005810369e1f8ff4899bfd8 | |
parent | Use the same workaround as ehci(4) and ohci(4) in setaddr() to deal with (diff) | |
download | wireguard-openbsd-ba7e0cae12882d0e62bcd9516062c2985e36f2e5.tar.xz wireguard-openbsd-ba7e0cae12882d0e62bcd9516062c2985e36f2e5.zip |
Abort tasks are run in their own thead, that's why they need a special
type, from Patrick Wildt.
-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); } |