Skip to content
Commit cd7a6e5e authored by Johann Fischer's avatar Johann Fischer Committed by Dan Kalowsky
Browse files

drivers: udc: fix buffer leak when the host omits control data stage



The previous setup packet reference will simply be overwritten when the
host omits data (OUT) stage. If a new setup packet arrives before the
previous data stage is complete, free the last setup packet buffer.

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