CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2020/06/24 01:46:10

Modified files:
        sys/dev/usb    : umass.c 

Log message:
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@

Reply via email to