Revert "usb: uas: set host status byte on data completion error"
This reverts commit 1192d08166
.
This commit is contained in:
parent
e348db18c0
commit
92f524a047
1 changed files with 0 additions and 1 deletions
|
@ -424,7 +424,6 @@ static void uas_data_cmplt(struct urb *urb)
|
|||
uas_log_cmd_state(cmnd, "data cmplt err", status);
|
||||
/* error: no data transfered */
|
||||
scsi_set_resid(cmnd, sdb->length);
|
||||
set_host_byte(cmnd, DID_ERROR);
|
||||
} else {
|
||||
scsi_set_resid(cmnd, sdb->length - urb->actual_length);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue