diff options
author | 2009-01-06 17:58:02 +0000 | |
---|---|---|
committer | 2009-01-06 17:58:02 +0000 | |
commit | 9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d (patch) | |
tree | 319ec314e8b92788ab98bacd66f028b961210ece /include/linux/kernel.h | |
parent | uwb: safely remove all reservations (diff) | |
download | wireguard-linux-9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d.tar.xz wireguard-linux-9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d.zip |
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>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions