Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 zephyrproject-rtos#23980. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
- Loading branch information