Skip to content

Commit 77aff10

Browse files
committed
Bluetooth: Controller: Fix define in HCI Command Tx Count calculation
Use the correct define in the HCI Command Tx buffer count calculation. There is no change in the calculated value. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent 91b1b84 commit 77aff10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/common/hci_common_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,6 @@ BUILD_ASSERT(IS_ENABLED(CONFIG_BT_CTLR_HCI_NUM_CMD_PKT_MAX),
9797
#define BT_BUF_HCI_ACL_RX_COUNT (BT_BUF_RX_COUNT)
9898

9999
/* Controller-only with Controller to Host data flow control */
100-
#define BT_BUF_CMD_TX_COUNT (BT_BUF_RX_COUNT + CONFIG_BT_CTLR_HCI_NUM_CMD_PKT_MAX)
100+
#define BT_BUF_CMD_TX_COUNT (BT_BUF_HCI_ACL_RX_COUNT + CONFIG_BT_CTLR_HCI_NUM_CMD_PKT_MAX)
101101

102102
#endif /* CONFIG_BT_HCI_ACL_FLOW_CONTROL */

0 commit comments

Comments
 (0)