diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-09-22 14:43:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-09-23 13:58:10 -0700 |
commit | 5257d97a219e17abf8188f136e1189da3b3af33c (patch) | |
tree | 0fd223387fe974f395ed09b1d7a0f5c356dddd65 /net/netrom/nr_out.c | |
parent | af747c460b663a4b7795dc3f6897b5506fde6888 (diff) |
USB: revert recovery from transient errors
This patch (as1135) essentially reverts the major parts of two earlier
patches to usbcore, because they ended up causing a regression.
Trying to recover from transient communication errors can lead to
other problems, because operations that failed during the error period
are not always retried. The simplest example is the initial
Set-Config request sent after device enumeration; if it gets lost then
it will not be retried and the device will remain unconfigured.
This patch restores the old behavior in which any port disconnect or
port disable causes the entire device structure to be removed, fixing a
reported regression.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/netrom/nr_out.c')
0 files changed, 0 insertions, 0 deletions