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>
This commit is contained in:
parent
c709d4f85f
commit
8a5154d71c
1 changed files with 7 additions and 0 deletions
|
@ -142,6 +142,13 @@ uint8_t ll_sync_create(uint8_t options, uint8_t sid, uint8_t adv_addr_type,
|
|||
/* Initialize sync context */
|
||||
sync->timeout_reload = 0U;
|
||||
sync->timeout_expire = 0U;
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_SYNC_ISO)
|
||||
/* Reset Broadcast Isochronous Group Sync Establishment */
|
||||
sync->sync_iso = NULL;
|
||||
#endif /* CONFIG_BT_CTLR_SYNC_ISO */
|
||||
|
||||
/* Initialize sync LLL context */
|
||||
lll_sync = &sync->lll;
|
||||
lll_sync->skip_prepare = 0U;
|
||||
lll_sync->skip_event = 0U;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue