Skip to content
Commit 9b3f41de authored by Jonathan Rico's avatar Jonathan Rico Committed by Alberto Escolar
Browse files

Bluetooth: host: don't pull data if no view bufs



View buffers are now also a limited resource. Acquire them before
attempting to pull data. `CONFIG_BT_CONN_FRAG_COUNT` should be tuned on
a per-application basis to avoid this.

A possible optimization, that was present before, is to not create a
frag when the original buffer fits the controller's HCI size.

I prefer deferring this optimization to a future patchset.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
parent 5a7ef422
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment