USB: uas: fix abort
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 25 Sep 2012 08:47:07 +0000 (10:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2012 22:32:23 +0000 (15:32 -0700)
commit0871d7d86ce3788ba40391df3a259df2285776cd
treeb1a67af0086a748f2745b4c95ecc7f0411f794d9
parentef018cc9f894efcca7e785ee75f1dd546e11afee
USB: uas: fix abort

Properly report aborted commands.
Also don't access cmdinfo after kicking task management,
it may not be valid any more once it returns.

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