Skip to content

Commit 0e5cda3

Browse files
JordanYatesnashif
authored andcommitted
bluetooth: increment BT_BUF_CMD_TX_COUNT
The extended advertising start procedure can consume both command buffers in a single API call, resulting in `bt_le_create_conn_cancel` being unable to claim a buffer to terminate the connection request. Increase the command count if both extended advertising and Bluetooth central are enabled in an application. Signed-off-by: Jordan Yates <[email protected]>
1 parent 322ec30 commit 0e5cda3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/common/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ config BT_BUF_CMD_TX_SIZE
172172

173173
config BT_BUF_CMD_TX_COUNT
174174
int "Number of HCI command buffers"
175+
default 3 if BT_EXT_ADV && BT_CENTRAL
175176
default 2
176177
range 2 64
177178
help

0 commit comments

Comments
 (0)