1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 18:06:40 +00:00

bdk: ums: always allow finish reply

Parse scsi cmd failures are handled internally.
This commit is contained in:
CTCaer 2024-10-04 21:47:26 +03:00
parent 9e239df39e
commit 5c77601f7a

View file

@ -1936,7 +1936,9 @@ int usb_device_gadget_ums(usb_ctxt_t *usbs)
_handle_ep0_ctrl(&ums); _handle_ep0_ctrl(&ums);
if (_parse_scsi_cmd(&ums, &ums.bulk_ctxt) || (ums.state > UMS_STATE_NORMAL)) _parse_scsi_cmd(&ums, &ums.bulk_ctxt);
if (ums.state > UMS_STATE_NORMAL)
continue; continue;
_handle_ep0_ctrl(&ums); _handle_ep0_ctrl(&ums);