Skip to content
Commit ac3a6d37 authored by Mariusz Skamra's avatar Mariusz Skamra Committed by Carles Cufi
Browse files

tests: Bluetooth: tester: Fix missing net_buf_unref



This fixes missing unreference of network buffer allocated
when there is no data to send in the ring buffer.
The code have been refactored, so that we check whether there is
anything to send first, and if there is, the TX buffer is allocated.

Signed-off-by: default avatarMariusz Skamra <mariusz.skamra@codecoup.pl>
parent b0a54920
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment