Skip to content
Commit fad23cb0 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: Check the return value when sending packet



If the return value of the sender is 0, then packet is/was
discarded and we release the net_buf. If the value is 1, then
packet was sent properly and the driver has already freed
the net_buf.

Change-Id: Icd93602225e14f7210fe9ef33603a7451d834a80
Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 9ee16aa2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment