Skip to content

Commit f61d53d

Browse files
JordanYatesdkalowsk
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 790bd7c commit f61d53d

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
@@ -173,6 +173,7 @@ config BT_BUF_CMD_TX_SIZE
173173

174174
config BT_BUF_CMD_TX_COUNT
175175
int "Number of HCI command buffers"
176+
default 3 if BT_EXT_ADV && BT_CENTRAL
176177
default 2
177178
range 2 64
178179
help

0 commit comments

Comments
 (0)