Skip to content
Commit 19f6ed02 authored by Emil Obalski's avatar Emil Obalski Committed by Carles Cufí
Browse files

usb: driver: Fix Nordic driver for fragmented control OUT transfers.



Nordic driver must allow read from control OUT endpoint by
itself. For data stage transactions with length > MPS (64Bytes)
this must be performed for each 64B + Residue data packet.

Residue - data packet with len < 64B.

The exact length of data transfer is known from wLength field
form setup packet in setup stage. Until now driver was incorrectly
initializing the length of the data stage and at some point will
not allow for next data stage.

This commit addresses the issue #23980.

Signed-off-by: default avatarEmil Obalski <emil.obalski@nordicsemi.no>
parent 77946fa8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment