summaryrefslogtreecommitdiff
path: root/drivers/usb/core/sysfs.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2010-01-05 14:33:29 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:04 -0800
commitd837e219daf3bf0cc84fcfb9781807d9fe8d03b5 (patch)
tree7b28362df13ca2807e66f31aefeb59599d3b648f /drivers/usb/core/sysfs.c
parent46216e4fbe8c62059b5440dec0b236f386248a41 (diff)
USB: Use bInterfaceNumber in bandwidth allocations.
USB devices do not have to sort interfaces in their descriptors based on the interface number, and they may choose to skip interface numbers. The USB bandwidth allocation code for installing a new configuration assumes the for loop variable will match the interface number. Make it use the interface number (bInterfaceNumber) in the descriptor instead. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/sysfs.c')
0 files changed, 0 insertions, 0 deletions