Skip to content
Commit 2d9b56d7 authored by Jonathan Rico's avatar Jonathan Rico Committed by Henrik Brix Andersen
Browse files

Bluetooth: L2CAP: remove metadata allocation



The only thing we put in there is the CID and that fits comfortably into
the (at least) 4-byte void pointer `user_data`.

This removes the dependency between `CONFIG_BT_ATT_TX_COUNT` and
`CONFIG_BT_L2CAP_TX_BUF_COUNT` since previously there was still a need
for an L2CAP context for every TX'd buffer.

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