From c245b9624919cc9bc90881177f2539004c177dc7 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 11 Nov 2016 13:18:20 +0200 Subject: [PATCH] Bluetooth: Kconfig: Fix order of default entries The conditional defaults must come last in order to be properly processed. Change-Id: Id7a152ca1a1584935029e212d0dd8f37494d1cf4 Signed-off-by: Johan Hedberg --- subsys/bluetooth/controller/Kconfig | 4 ++-- subsys/bluetooth/host/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/subsys/bluetooth/controller/Kconfig b/subsys/bluetooth/controller/Kconfig index 016a39c192c..9e1438db9b1 100644 --- a/subsys/bluetooth/controller/Kconfig +++ b/subsys/bluetooth/controller/Kconfig @@ -13,8 +13,8 @@ config BLUETOOTH_CONTROLLER_DATA_LENGTH config BLUETOOTH_CONTROLLER_RX_BUFFERS prompt "Number of Rx buffers" int - default 6 if BLUETOOTH_HCI_RAW default 1 + default 6 if BLUETOOTH_HCI_RAW range 1 10 help Set the number of Rx PDUs to be buffered in the controller. @@ -22,8 +22,8 @@ config BLUETOOTH_CONTROLLER_RX_BUFFERS config BLUETOOTH_CONTROLLER_TX_BUFFERS prompt "Number of Tx buffers" int - default 7 if BLUETOOTH_HCI_RAW default 1 + default 7 if BLUETOOTH_HCI_RAW range 1 10 help Set the number of Tx PDUs to be queued for transmission diff --git a/subsys/bluetooth/host/Kconfig b/subsys/bluetooth/host/Kconfig index e2c194a056a..50cdcb8137c 100644 --- a/subsys/bluetooth/host/Kconfig +++ b/subsys/bluetooth/host/Kconfig @@ -84,8 +84,8 @@ config BLUETOOTH_UART_TO_HOST_DEV_NAME if BLUETOOTH_CONN || BLUETOOTH_HCI_RAW config BLUETOOTH_ACL_IN_COUNT int "Number of incoming ACL data buffers" - default BLUETOOTH_CONTROLLER_RX_BUFFERS if BLUETOOTH_CONTROLLER default 6 + default BLUETOOTH_CONTROLLER_RX_BUFFERS if BLUETOOTH_CONTROLLER range 2 64 help Number of buffers available for incoming ACL data.