Skip to content

Commit

Permalink
fix stub IN iso transfer
Browse files Browse the repository at this point in the history
stub had not handled IN iso transfer.
  • Loading branch information
cezanne committed Apr 1, 2020
1 parent c35fd0a commit 339a46d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driver/stub/stub_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ process_iso_transfer(usbip_stub_dev_t *devstub, PUSBD_PIPE_INFORMATION info_pipe

is_in = hdr->base.direction ? TRUE : FALSE;
usbd_flags = to_usbd_flags(hdr->u.cmd_submit.transfer_flags);
if (is_in)
usbd_flags |= USBD_TRANSFER_DIRECTION_IN;
n_pkts = hdr->u.cmd_submit.number_of_packets;
iso_descs_len = sizeof(struct usbip_iso_packet_descriptor) * n_pkts;

Expand Down

0 comments on commit 339a46d

Please sign in to comment.