diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-01-22 11:58:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 15:44:40 -0800 |
commit | 1096f780d0b9d6bade2d42bf823e81db3e553abe (patch) | |
tree | d72bf456ec6a0d1b720839d157d5867059051775 /drivers/usb/storage/debug.h | |
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>
Diffstat (limited to 'drivers/usb/storage/debug.h')
0 files changed, 0 insertions, 0 deletions