diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/storage/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c index fb65d221cedf..02e30a3ce7bf 100644 --- a/drivers/usb/storage/transport.c +++ b/drivers/usb/storage/transport.c | |||
@@ -781,7 +781,7 @@ void usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) | |||
781 | /* Did we transfer less than the minimum amount required? */ | 781 | /* Did we transfer less than the minimum amount required? */ |
782 | if ((srb->result == SAM_STAT_GOOD || srb->sense_buffer[2] == 0) && | 782 | if ((srb->result == SAM_STAT_GOOD || srb->sense_buffer[2] == 0) && |
783 | scsi_bufflen(srb) - scsi_get_resid(srb) < srb->underflow) | 783 | scsi_bufflen(srb) - scsi_get_resid(srb) < srb->underflow) |
784 | srb->result = (DID_ERROR << 16) | (SUGGEST_RETRY << 24); | 784 | srb->result = DID_ERROR << 16; |
785 | 785 | ||
786 | last_sector_hacks(us, srb); | 786 | last_sector_hacks(us, srb); |
787 | return; | 787 | return; |