Skip to content
Commit 0aeba0eb authored by Trond Einar Snekvik's avatar Trond Einar Snekvik Committed by Carles Cufí
Browse files

Bluetooth: Mesh: Transport seg with few adv bufs



Fixes bug where the transport segmented tx would decrement the attempt
counter every time it ran out of buffers. If transport ran out of
buffers 4 times before the sending could complete, the transfer would
end prematurely.

Moves the attempt decrement to only execute when all segments have been
sent.

Signed-off-by: default avatarTrond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
parent 266e3f27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment