If we cannot stop the endpoint when aborting a transfer assume that
authormpi <mpi@openbsd.org>
Thu, 6 Sep 2018 15:39:48 +0000 (15:39 +0000)
committermpi <mpi@openbsd.org>
Thu, 6 Sep 2018 15:39:48 +0000 (15:39 +0000)
commitc3b0c434c85589f5766311dcd86a6ca4d717aeee
tree94224621c87fa120b936ab9767d653b0fef7efdd
parent016a9c10797dbe5de64addf6054bb183e5b77090
If we cannot stop the endpoint when aborting a transfer assume that
the device is gone and give back the descriptor to the stack.

Without this usbd_abort_pipe() could end up in an infinite loop.

Issue reported by Tom Murphy.
sys/dev/usb/xhci.c