Skip to content

Commit c8d4016

Browse files
cvinayakcfriedt
authored andcommitted
Bluetooth: Controller: Fix minimal Kconfig depends and defaults
Fix default value of BT_TICKER_REMAINDER_GET, it will be selected based on enabled Controller features. This is not needed by minimal peripheral role. Fix depends on for BT_CTLR_CONN_RANDOM_FORCE as it is applicable when more than one simultaneous connections is supported. Again, this is not needed by minimal peripheral role. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 33e1b86 commit c8d4016

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

subsys/bluetooth/controller/Kconfig.ll_sw_split

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ config BT_CTLR_FORCE_MD_AUTO
11261126

11271127
config BT_CTLR_CONN_RANDOM_FORCE
11281128
bool "Random forced scheduling for peripheral on missed anchor point"
1129-
depends on BT_PERIPHERAL
1129+
depends on BT_PERIPHERAL && (BT_MAX_CONN > 1)
11301130
default y
11311131
help
11321132
When enabled, controller will have legacy behavior and randomly force
@@ -1259,7 +1259,6 @@ config BT_TICKER_REMAINDER_GET
12591259
depends on BT_TICKER_REMAINDER_SUPPORT
12601260
select BT_TICKER_NEXT_SLOT_GET
12611261
select BT_TICKER_NEXT_SLOT_GET_MATCH
1262-
default y
12631262
help
12641263
This option enables ticker interface to iterate through active
12651264
ticker nodes, returning tick to expire and remainder from a reference

0 commit comments

Comments
 (0)