[PATCH] usbcore: recovery from Set-Configuration failure
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 1 Jun 2006 17:59:16 +0000 (13:59 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:15 +0000 (15:04 -0700)
commit6ad07129a8ed2e13dcd7e6313c201c32bcf7cc32
tree55a1e1a2bdb6bfc5e93f169e22be98598dfbf8c7
parentdf9a1f482d1252045210f50048911e2efba61e62
[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>
drivers/usb/core/message.c