Commit f61d53d5 authored by Jordan Yates's avatar Jordan Yates Committed by Dan Kalowsky
Browse files

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: default avatarJordan Yates <jordan@embeint.com>
parent 790bd7c4
Loading
Loading
Loading
Loading
+1 −0
Changes for subsys/bluetooth/common/Kconfig: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -173,6 +173,7 @@ config BT_BUF_CMD_TX_SIZE

config BT_BUF_CMD_TX_COUNT
	int "Number of HCI command buffers"
	default 3 if BT_EXT_ADV && BT_CENTRAL
	default 2
	range 2 64
	help