mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-22 09:56:40 +00:00
bdk: ums: always allow finish reply
Parse scsi cmd failures are handled internally.
This commit is contained in:
parent
9e239df39e
commit
5c77601f7a
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue