]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2dfeac6347963a9ba9a19c3eb966236c51d58c74
tree2b03138c98989cc865e8c98cf738a5fd423faa41
parent06f56c6f5e3abbc4bf38e00cf3e3ba373e041f72
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