Skip to content

Commit 2cca282

Browse files
committed
Bluetooth: Controller: Fix regression using speed optimization
Fix regression using speed optimization introduced in commit 1b7fe79 ("Bluetooth: Controller: Support Link Time Optimizations (LTO)"). Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 8ca58f8 commit 2cca282

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

subsys/bluetooth/controller/Kconfig.ll_sw_split

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ config BT_CTLR_DYNAMIC_INTERRUPTS
627627
permit use of SoC's peripheral for custom use when Bluetooth is not
628628
enabled.
629629

630-
choice
630+
choice BT_CTLR_OPTIMIZE
631631
prompt "Optimization options"
632632
depends on !LTO
633633
default BT_CTLR_OPTIMIZE_FOR_SPEED
@@ -1300,6 +1300,16 @@ config BT_CTLR_USER_CPR_ANCHOR_POINT_MOVE
13001300

13011301
endmenu
13021302

1303+
# Workaround to be able to have default for "choice" in hidden "menu" above
1304+
choice BT_CTLR_OPTIMIZE
1305+
prompt "Optimization options"
1306+
depends on !LTO
1307+
1308+
config BT_CTLR_OPTIMIZE_FOR_SPEED
1309+
bool "Optimize for Speed"
1310+
1311+
endchoice
1312+
13031313
source "subsys/bluetooth/controller/coex/Kconfig"
13041314

13051315
comment "BLE Controller debug configuration"

0 commit comments

Comments
 (0)