Skip to content
Commit fb5845a0 authored by Jonathan Rico's avatar Jonathan Rico Committed by Chris Friedt
Browse files

Bluetooth: host: copy fragment data at the last minute



Only copy the data from the 'parent' buf into the segment buf if we
successfully acquired the HCI semaphore (ie there are available
controller buffers).

This way we avoid pulling and pushing back the data in the case where
there aren't any controller buffers available.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
(cherry picked from commit ca51439c)
parent c0d6fad1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment