Closed robin-nitrokey closed 2 years ago
This patch sets the actual_length field of the USBIP_RET_SUBMIT message to the number of bytes received with the USBIP_CMD_SUBMIT message.
This fixes an issue where the number of bytes written was reported incorrectly on the host, see https://github.com/trussed-dev/pc-usbip-runner/issues/9.
Looks good to me. Thanks a lot.
Thanks for the quick merge!
@Sawchord Hi! Thank you for a quick reaction! Do you plan to make a new release with this patch?
Oh yeah good idea. Can do
This patch sets the actual_length field of the USBIP_RET_SUBMIT message to the number of bytes received with the USBIP_CMD_SUBMIT message.
This fixes an issue where the number of bytes written was reported incorrectly on the host, see https://github.com/trussed-dev/pc-usbip-runner/issues/9.