From eb1ae9f23430f8d988d09525b8b3a5831ab5600b Mon Sep 17 00:00:00 2001 From: Sean Madigan Date: Fri, 31 Jan 2025 12:52:39 +0000 Subject: [PATCH] [nrf fromtree] bluetooth: controller: Only BT_CTLR_ECDH default y if BT_HCI_RAW In https://github.com/zephyrproject-rtos/zephyr/pull/84268 the ability to use the controller for ECDH was removed from the host. This means that BT_CTLR_ECDH is now only useful when using BT_HCI_RAW. Signed-off-by: Sean Madigan (cherry picked from commit 706938d7b2a7ae36f019dd57659619fcf7019b2f) --- subsys/bluetooth/controller/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/Kconfig b/subsys/bluetooth/controller/Kconfig index ab7706a73bb..4953343ba3c 100644 --- a/subsys/bluetooth/controller/Kconfig +++ b/subsys/bluetooth/controller/Kconfig @@ -512,7 +512,7 @@ config BT_CTLR_LE_ENC config BT_CTLR_ECDH bool "Elliptic Curve Diffie-Hellman (ECDH)" depends on BT_CTLR_ECDH_SUPPORT - default y + default y if BT_HCI_RAW help Enable support for Bluetooth v4.2 Elliptic Curve Diffie-Hellman feature in the controller.