Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions subsys/bluetooth/common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions subsys/bluetooth/host/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,9 @@ int bt_le_create_conn_cancel(void)
struct bt_hci_cmd_state_set state;

buf = bt_hci_cmd_create(BT_HCI_OP_LE_CREATE_CONN_CANCEL, 0);
if (!buf) {
return -ENOBUFS;
}

bt_hci_cmd_state_set_init(buf, &state, bt_dev.flags,
BT_DEV_INITIATING, false);
Expand Down