]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit14333381737c4d57ac7b522a22debd096b676604
tree55a1e1a2bdb6bfc5e93f169e22be98598dfbf8c7
parent2e8402f30482cd54f206508ef319407bb1a7ab13
[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