Skip to content
Commit ca51439c authored by Jonathan Rico's avatar Jonathan Rico Committed by Fabio Baltieri
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>
parent ef19c64f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment