From bebf59f9a043b2e8a864c9bd10e4e17a2b58d9cf Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Mon, 12 May 2025 13:04:09 +0200 Subject: [PATCH] Bluetooth: Controller: Fix MIC failure when 2 CISes in Peripheral Fix MIC failure when 2 or more CISes in Peripheral is active and any CIS before the last CIS does not have reception that lead to the event count and payload count being incorrect. Add the missing flush implementation when switching between CISes in the CIG event. Signed-off-by: Vinayak Kariappa Chettimada --- .../bluetooth/controller/ll_sw/nordic/lll/lll_peripheral_iso.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_peripheral_iso.c b/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_peripheral_iso.c index 22f8f52fda0..bb17e2efbc1 100644 --- a/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_peripheral_iso.c +++ b/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_peripheral_iso.c @@ -1012,6 +1012,8 @@ static void next_cis_prepare(void *param) return; } + payload_count_rx_flush_or_txrx_inc(cis_lll); + cis_handle_curr = cis_handle; radio_isr_set(isr_prepare_subevent_next_cis, next_cis_lll);