diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-06-01 13:59:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:04:15 -0700 |
commit | 6ad07129a8ed2e13dcd7e6313c201c32bcf7cc32 (patch) | |
tree | 55a1e1a2bdb6bfc5e93f169e22be98598dfbf8c7 /drivers/usb/serial/option.c | |
parent | df9a1f482d1252045210f50048911e2efba61e62 (diff) |
[PATCH] usbcore: recovery from Set-Configuration failure
This patch (as703) improves the error handling when a Set-Configuration
request fails. The old interfaces are all unregistered before the
request is sent, and if the request fails then we don't know what config
the device is using. So it makes no sense to leave actconfig pointing
to the old configuration with its invalid interfaces.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/option.c')
0 files changed, 0 insertions, 0 deletions