summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ohci-hub.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-04-20 10:40:59 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-30 09:25:10 -0700
commit62f9cfa3ece58268b3e92ca59c23b175f86205aa (patch)
tree5990f644a00870876cb34f0afea1012215413f47 /drivers/usb/host/ohci-hub.c
parentc3baa19b0a9b711b02cec81d9fea33b7b9628957 (diff)
USB: don't choose configs with no interfaces
This patch (as1372) fixes a bug in the routine that chooses the default configuration to install when a new USB device is detected. The algorithm is supposed to look for a config whose first interface is for a non-vendor-specific class. But the way it's currently written, it will also accept a config with no interfaces at all, which is not very useful. (Believe it or not, such things do exist.) Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Andrew Victor <avictor.za@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-hub.c')
0 files changed, 0 insertions, 0 deletions