From: Sarah Sharp Date: Tue, 5 Jan 2010 22:33:29 +0000 (-0800) Subject: USB: Use bInterfaceNumber in bandwidth allocations. X-Git-Tag: v2.6.34-rc1~215^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d837e219daf3bf0cc84fcfb9781807d9fe8d03b5;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed