Skip to content
Commit 4e3e23eb authored by Johan Hedberg's avatar Johan Hedberg
Browse files

net: Use net_buf APIs for getting net_buf elements from FIFO



The net_buf API ensures that the frags pointer gets initialized
properly. Using nano_fifo_get could mean that buf->frags is something
else than NULL if there was more than one item in the FIFO.

Change-Id: If65e85a7cbe82f562307dc781d48110c3be0472b
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 195216d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment