]> asedeno.scripts.mit.edu Git - linux.git/commit
Revert "usb/uas: one only one status URB/host on stream-less connection"
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 19 Jun 2012 07:54:49 +0000 (09:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jun 2012 18:50:59 +0000 (11:50 -0700)
commitdb32de11f75673c2a0f2651ae58b0f25b8c5b0eb
tree06c96018028813e1cad1d96e7feb96dae81a7648
parentc621a81edecdee85da32c566c21836332c764fda
Revert "usb/uas: one only one status URB/host on stream-less connection"

This reverts commit ceb3f91fd53c9fbd7b292fc2754ba4efffeeeedb.

IMO the real bug is assigning status urbs to scsi requests.  First there
is no such link in the non-stream case.  Also there isn't nessesarely a
scsi request in the first place, for example when submitting task
management requests.

This patch just papers over the real bug and introduces different status
urb handling in the stream/non-stream case for no good reason.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c