diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2017-05-16 11:48:01 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-18 16:05:24 +0200 |
commit | ce553bd103c161df2676ff201746bff8ca512715 (patch) | |
tree | d2310f8928ee73a38fa3f2d81dffc134de76671f /drivers/net/Space.c | |
parent | aa18c4b6e0e39bfb00af48734ec24bc189ac9909 (diff) | |
download | linux-ce553bd103c161df2676ff201746bff8ca512715.tar.bz2 |
USB: ene_usb6250: implement REQUEST SENSE
In the ene_usb6250 sub-driver for usb-storage, there is no support for
the REQUEST SENSE command. This command is issued whenever a failure
occurs, and without it the driver has no way to tell the SCSI core
what the reason for the failure was.
This patch adds a do_scsi_request_sense() routine to the driver. The
new routine reports the error code stored by the previous command.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Andreas Hartmann <andihartmann@01019freenet.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/Space.c')
0 files changed, 0 insertions, 0 deletions