Skip to content

Commit

Permalink
Bluetooth: Controller: Fix spurious ISO Sync receiver stall
Browse files Browse the repository at this point in the history
Fix spurious ISO Sync Receiver stall due to uninitialised
value accessed due to regression introduced by
commit 64facee ("Bluetooth: controller: Stop Sync ISO
ticker when establishment fails").

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
  • Loading branch information
cvinayak authored and mmahadevan108 committed Nov 5, 2024
1 parent 7f55748 commit db96720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/bluetooth/controller/ll_sw/nordic/lll/lll_sync_iso.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ static void abort_cb(struct lll_prepare_param *prepare_param, void *param)
LL_ASSERT(e);

e->type = EVENT_DONE_EXTRA_TYPE_SYNC_ISO;
e->estab_failed = 0U;
e->trx_cnt = 0U;
e->crc_valid = 0U;

Expand Down Expand Up @@ -1281,6 +1282,7 @@ static void isr_rx_done(void *param)

/* Calculate and place the drift information in done event */
e->type = EVENT_DONE_EXTRA_TYPE_SYNC_ISO;
e->estab_failed = 0U;
e->trx_cnt = trx_cnt;
e->crc_valid = crc_ok_anchor;

Expand Down

0 comments on commit db96720

Please sign in to comment.