Revert "usb_storage: make it a bit more correct"
Clearly this was a stupid commit, no idea why I did that.
This reverts commit 074e911859
.
This commit is contained in:
parent
7d91f8a1a8
commit
27c7e477ca
1 changed files with 0 additions and 1 deletions
|
@ -1161,7 +1161,6 @@ static void handle_scsi(struct command_block_wrapper* cbw)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
logf("scsi unknown cmd %x",cbw->command_block[0x0]);
|
logf("scsi unknown cmd %x",cbw->command_block[0x0]);
|
||||||
usb_drv_stall(ep_in, true,true);
|
|
||||||
send_csw(UMS_STATUS_FAIL);
|
send_csw(UMS_STATUS_FAIL);
|
||||||
cur_sense_data.sense_key=SENSE_ILLEGAL_REQUEST;
|
cur_sense_data.sense_key=SENSE_ILLEGAL_REQUEST;
|
||||||
cur_sense_data.asc=ASC_INVALID_COMMAND;
|
cur_sense_data.asc=ASC_INVALID_COMMAND;
|
||||||
|
|
Loading…
Reference in a new issue