usb: deal with broken config descriptors
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Sat, 26 Aug 2006 02:35:28 +0000 (19:35 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:55 +0000 (11:58 -0700)
commitcb4c8fe57c05dbb04128503f4a7483a1163b1b47
tree2b03138c98989cc865e8c98cf738a5fd423faa41
parentdfe0d3ba20e860d0b9a16c4c6524180b8f93be05
usb: deal with broken config descriptors

Change usb_get_configuration() so that it is more tolerant to devices
with bad configuration descriptors (it'll make it ignore
configurations that fail to load).

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/config.c