From 66d1be67283db28e209a2a21516ba2ac1223ab90 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Thu, 5 Mar 2020 17:17:10 +0530 Subject: [PATCH] Bluetooth: controller: nRF51x: Force optimize for speed Make BT_CTLR_OPTIMIZE_FOR_SPEED option so that it is not user selectable for nRF51x series SoC with encrypted connections support. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/controller/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/Kconfig b/subsys/bluetooth/controller/Kconfig index ee5607d8266..1c77488f319 100644 --- a/subsys/bluetooth/controller/Kconfig +++ b/subsys/bluetooth/controller/Kconfig @@ -577,7 +577,8 @@ config BT_CTLR_ZLI else will impact controller stability. config BT_CTLR_OPTIMIZE_FOR_SPEED - bool "Optimize for Speed" + prompt "Optimize for Speed" if !(SOC_SERIES_NRF51X && BT_CTLR_LE_ENC) + bool default y if BT_CTLR_LE_ENC help Optimize compilation of controller for execution speed.