From: Alan Stern Date: Mon, 22 Jan 2007 16:58:34 +0000 (-0500) Subject: usb-storage: use first bulk endpoints, not last X-Git-Tag: v2.6.21-rc1~92^2~29^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1096f780d0b9d6bade2d42bf823e81db3e553abe;p=pandora-kernel.git usb-storage: use first bulk endpoints, not last According to the Bulk-Only spec, usb-storage is supposed to use the _first_ bulk-in and bulk-out endpoints it finds, not the _last_. And while we're at it, we ought to test the direction of the interrupt endpoint as well. This patch (as842) makes both changes. Signed-off-by: Alan Stern Cc: Matthew Dharm Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed