Skip to content
Commit 973f914b authored by Johann Fischer's avatar Johann Fischer Committed by Mahesh Mahadevan
Browse files

drivers: udc_nrf: fix enqueue of control IN transfer with length 0



If the direction of the last setup packet is not to the device but to
the host, then the transfer is not a status stage and should be queued.
This is not checked and prevents a zero length control IN transfer to
the host, e.g. used by the DFU class to indicate the end of the upload
process.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent 0c299e66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment