usb: wusbcore: use USB_CTRL_SET_TIMEOUT and USB_CTRL_GET_TIMEOUT
authorThomas Pugliese <thomas.pugliese@gmail.com>
Mon, 9 Dec 2013 19:19:08 +0000 (13:19 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 21:28:48 +0000 (13:28 -0800)
commit7b3e3740f2d0faca9351db88974be534009a3d8d
tree0ffed75bf0500ef176681a3af0999bd15747d126
parent83e83ecb79a8225e79bc8e54e9aff3e0e27658a2
usb: wusbcore: use USB_CTRL_SET_TIMEOUT and USB_CTRL_GET_TIMEOUT

Use USB_CTRL_SET_TIMEOUT and USB_CTRL_GET_TIMEOUT for USB control
messages instead of an arbitrary 1s timeout value.  This is particularly
useful for WUSB since in the worst case RF scanario, a WUSB device can
be unresponsive for up to 4s and still be connected.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/hwa-hc.c
drivers/usb/wusbcore/cbaf.c
drivers/usb/wusbcore/security.c
drivers/usb/wusbcore/wa-hc.h
drivers/usb/wusbcore/wa-rpipe.c