commit | 1096f780d0b9d6bade2d42bf823e81db3e553abe | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Mon Jan 22 11:58:34 2007 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Feb 07 15:44:40 2007 -0800 |
tree | d72bf456ec6a0d1b720839d157d5867059051775 | |
parent | 629e4427aa817d5c9f11885420abf54b8f5967dc [diff] |
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 <stern@rowland.harvard.edu> Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>