Skip to content

Commit 8a5154d

Browse files
cvinayakcarlescufi
authored andcommitted
Bluetooth: controller: Add missing initialization of ISO sync
Add missing initialization of ISO sync context to be established. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
1 parent c709d4f commit 8a5154d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

subsys/bluetooth/controller/ll_sw/ull_sync.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,13 @@ uint8_t ll_sync_create(uint8_t options, uint8_t sid, uint8_t adv_addr_type,
142142
/* Initialize sync context */
143143
sync->timeout_reload = 0U;
144144
sync->timeout_expire = 0U;
145+
146+
#if defined(CONFIG_BT_CTLR_SYNC_ISO)
147+
/* Reset Broadcast Isochronous Group Sync Establishment */
148+
sync->sync_iso = NULL;
149+
#endif /* CONFIG_BT_CTLR_SYNC_ISO */
150+
151+
/* Initialize sync LLL context */
145152
lll_sync = &sync->lll;
146153
lll_sync->skip_prepare = 0U;
147154
lll_sync->skip_event = 0U;

0 commit comments

Comments
 (0)