summaryrefslogtreecommitdiff
path: root/firmware/usbstack
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2015-02-16 14:06:28 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2015-02-16 14:06:28 +0100
commit27c7e477caeb2f79cc577b66ef59005481dd63ec (patch)
tree55357acdaf8d00bcc81205c4bef207d2a094efca /firmware/usbstack
parent7d91f8a1a8f126dd0ce268f765096106fe0383cf (diff)
Revert "usb_storage: make it a bit more correct"
Clearly this was a stupid commit, no idea why I did that. This reverts commit 074e911859a0d3464fde9b701b3cff712c5826e0.
Diffstat (limited to 'firmware/usbstack')
-rw-r--r--firmware/usbstack/usb_storage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index 48e9442420..59ec191b4b 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -1161,7 +1161,6 @@ static void handle_scsi(struct command_block_wrapper* cbw)
default:
logf("scsi unknown cmd %x",cbw->command_block[0x0]);
- usb_drv_stall(ep_in, true,true);
send_csw(UMS_STATUS_FAIL);
cur_sense_data.sense_key=SENSE_ILLEGAL_REQUEST;
cur_sense_data.asc=ASC_INVALID_COMMAND;