commit | 9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d | [log] [tgz] |
---|---|---|
author | David Vrabel <david.vrabel@csr.com> | Tue Jan 06 17:58:02 2009 +0000 |
committer | David Vrabel <david.vrabel@csr.com> | Tue Jan 06 17:58:02 2009 +0000 |
tree | 319ec314e8b92788ab98bacd66f028b961210ece | |
parent | 2226b1c219a18804bc40e32a5d53c287a6c925d9 [diff] |
wusb: return -ENOTCONN when resetting a port with no connected device If reading the device descriptor fails during hub_port_init() fails, then the port is disabled, disconnecting the device. The port is then reset at the start of the next init attempt but there is no device to reset. Signed-off-by: David Vrabel <david.vrabel@csr.com>