diff options
author | Diego Ismirlian <dismirlian@gmail.com> | 2019-09-30 18:37:25 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian@gmail.com> | 2019-10-02 16:57:31 -0300 |
commit | 938daa12d66b50ddf4f3d4c6cf9bbd244d3840c0 (patch) | |
tree | d3741017548e3f4d5a8698bb325797e34edb98fe /os | |
parent | 7c57d8a92488ecbcc7b29c7c9131ec41aceb6c17 (diff) | |
download | ChibiOS-Contrib-938daa12d66b50ddf4f3d4c6cf9bbd244d3840c0.tar.gz ChibiOS-Contrib-938daa12d66b50ddf4f3d4c6cf9bbd244d3840c0.tar.bz2 ChibiOS-Contrib-938daa12d66b50ddf4f3d4c6cf9bbd244d3840c0.zip |
USBH: MSD: revert report OK on CSW status failure
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/src/usbh/hal_usbh_msd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/os/hal/src/usbh/hal_usbh_msd.c b/os/hal/src/usbh/hal_usbh_msd.c index a5fbc9f..081cccb 100644 --- a/os/hal/src/usbh/hal_usbh_msd.c +++ b/os/hal/src/usbh/hal_usbh_msd.c @@ -496,8 +496,6 @@ static msd_result_t _scsi_perform_transaction(USBHMassStorageLUNDriver *lunp, if (scsi_requestsense(lunp, &sense) == MSD_RESULT_OK) { uclassdrvwarnf("\tMSD: REQUEST SENSE: Sense key=%x, ASC=%02x, ASCQ=%02x", sense.byte[2] & 0xf, sense.byte[12], sense.byte[13]); - - return MSD_RESULT_OK; } } return MSD_RESULT_FAILED; |