Skip to content

Commit e60ac09

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: Controller: Fix missing RPA timer start for Broadcaster
Fix missing RPA timer start in Broadcaster only controller builds. Without the fix private resolvable addresses where not updated at RPA timeout. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent b36a0ee commit e60ac09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/bluetooth/controller/ll_sw/ull_adv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ uint8_t ll_adv_enable(uint8_t enable)
15071507
ull_filter_adv_scan_state_cb(BIT(0) | BIT(1));
15081508
}
15091509
#else /* !CONFIG_BT_HCI_MESH_EXT */
1510-
if (IS_ENABLED(CONFIG_BT_OBSERVER) && !ull_scan_is_enabled_get(0)) {
1510+
if (!IS_ENABLED(CONFIG_BT_OBSERVER) || !ull_scan_is_enabled_get(0)) {
15111511
ull_filter_adv_scan_state_cb(BIT(0));
15121512
}
15131513
#endif /* !CONFIG_BT_HCI_MESH_EXT */
@@ -2652,7 +2652,7 @@ static inline uint8_t disable(uint8_t handle)
26522652
adv->is_enabled = 0U;
26532653

26542654
#if defined(CONFIG_BT_CTLR_PRIVACY)
2655-
if (IS_ENABLED(CONFIG_BT_OBSERVER) && !ull_scan_is_enabled_get(0)) {
2655+
if (!IS_ENABLED(CONFIG_BT_OBSERVER) || !ull_scan_is_enabled_get(0)) {
26562656
ull_filter_adv_scan_state_cb(0);
26572657
}
26582658
#endif /* CONFIG_BT_CTLR_PRIVACY */

0 commit comments

Comments
 (0)