From b072de3b1e7cbc78bbfedc8fd420e02bc71ee2a9 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 31 Jan 2018 15:50:58 -0800 Subject: [PATCH] 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 --- tests/bluetooth/mesh_shell/prj.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/bluetooth/mesh_shell/prj.conf b/tests/bluetooth/mesh_shell/prj.conf index 039e5a9a69d..e34446873a6 100644 --- a/tests/bluetooth/mesh_shell/prj.conf +++ b/tests/bluetooth/mesh_shell/prj.conf @@ -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