[PATCH] USB: usb-storage: timeouts and aborts
This patch adds timeouts to usb_stor_control_msg(). Now we will no longer have to use the usb_control_msg() routine in the usb core, so all our control messages can be interrupted by scsi aborts or disconnects. This also includes the new serial-number for auto-REQUEST-SENSE change. The new serial number has one bit toggled from the old, guaranteeing that it is unique. Following a suggestion of David Brownell, this makes the transport-reset function attempt to clear a halt condition on both bulk pipes even if one of them fails.
Showing
Please register or sign in to comment