Bluetooth: Controller: Fix uninitialized param in sync report

Fix uninitialized param field when generating incomplete
no more data to come periodic advertising report.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2022-03-18 21:34:08 +05:30 committed by Carles Cufí
parent 6fb38eb24f
commit d214bc5340

View file

@ -1185,6 +1185,7 @@ static void aux_sync_incomplete(void *param)
/* prepare sync report with failure */
rx->type = NODE_RX_TYPE_SYNC_REPORT;
rx->handle = ull_sync_handle_get(sync);
rx->rx_ftr.param = lll;
/* flag chain reception failure */
rx->rx_ftr.aux_failed = 1U;