mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-07 08:25:20 +00:00
Encoding the L2CAP header when allocating the buffer means that we must know the final size up-front. This is not always possible, so move the header encoding to bt_l2cap_send() and only have the bt_l2cap_create_pdu() function reserve enough headroom without actually encoding anything. Change-Id: Ic1c3b6b72c265cd0db4e835790fa915e0acd9388 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> |
||
---|---|---|
.. | ||
bluetooth | ||
defs.objs |