Skip to content
Commit c7baf391 authored by Johann Fischer's avatar Johann Fischer Committed by Benjamin Cabé
Browse files

usb: device_next: fix CDC NCM datagram pointers processing



The implementation should not assume that NDP is placed immediately
after NTH. According to the specification (revision 1.0), NDP can be
anywhere in the transfer buffer. There is also always a "terminating
zero datagram pointer entry", which we should also use to terminate the
datagram processing loop.

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