]> git.hungrycats.org Git - linux/commit
[PATCH] USB: fix remove device after set_configuration
authorDavid Brownell <david-b@pacbell.net>
Mon, 8 Dec 2003 05:28:46 +0000 (21:28 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 8 Dec 2003 05:28:46 +0000 (21:28 -0800)
commit41888e962af026a557c4a274d41b86fb5d27c4ee
tree567c3385947df7e7462c7e2a77acc89e5d4d30ba
parent21033193a4bb45e499e58c70dff0408a2149c274
[PATCH] USB: fix remove device after set_configuration

If a device can't be configured, the current test9 code forgets
to clean it out of sysfs.  This resolves that issue, so the retry
in usb_new_device() stands a chance of working.

The enumeration code still doesn't handle such errors well, but
at least this way that hub port can be used for another device.
drivers/usb/core/usb.c