Bluetooth: mesh_shell: Increase L2CAP TX buffer count

In case of split host & controller we may need to do ACL segmentation
of packets. Sending the composition data will already have allocated
three TX buffers, so trying to segment the first one further will
result in a deadlock. Increase the buffer count from the default (3)
to 4 to work around this risk.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2018-01-31 15:50:58 -08:00 committed by Carles Cufí
parent a3474a2e2e
commit b072de3b1e

View File

@ -27,6 +27,7 @@ CONFIG_BT_CTLR_PRIVACY=n
CONFIG_BT_RX_BUF_COUNT=30
CONFIG_BT_L2CAP_RX_MTU=69
CONFIG_BT_L2CAP_TX_MTU=69
CONFIG_BT_L2CAP_TX_BUF_COUNT=4
CONFIG_BT_MESH=y
CONFIG_BT_MESH_SHELL=y