diff options
author | 2020-06-24 07:46:10 +0000 | |
---|---|---|
committer | 2020-06-24 07:46:10 +0000 | |
commit | dcc282bee006cc21ea38d597942115d0b9c62d26 (patch) | |
tree | ec234ced98d196971038e4263c45a6ef1f8bfaf3 /sys/dev/usb/xhci.c | |
parent | enable test-tls13-keyshare-omitted.py (diff) | |
download | wireguard-openbsd-dcc282bee006cc21ea38d597942115d0b9c62d26.tar.xz wireguard-openbsd-dcc282bee006cc21ea38d597942115d0b9c62d26.zip |
Apply sc->sc_xfer_flags to control transfers as well. These are used
so that in polled-mode the USB transfers are marked synchronous. In
case that sending commands to the USB mass storage fails, the control
transfers are used to reset the device. Without the synchronous flag,
the STOP command sent by sd(4) on powerdown would wait for completion
indefinitely, possibly hanging the machine.
ok gerhard@
Diffstat (limited to 'sys/dev/usb/xhci.c')
0 files changed, 0 insertions, 0 deletions