bluetooth: Controller: Set sdu_max fixing ISO test mode sdu_max

For ISO test mode sdu_max to work it actually has to be set somewhere
and this does that.

Signed-off-by: Lars Segerlund <lrsu@demant.com>
This commit is contained in:
Lars Segerlund 2025-05-07 09:02:46 +02:00 committed by Benjamin Cabé
commit ffe52da2f0

View file

@ -506,6 +506,7 @@ void ull_sync_iso_setup(struct ll_sync_iso_set *sync_iso,
lll->ptc = 0U;
}
lll->sdu_interval = PDU_BIG_INFO_SDU_INTERVAL_GET(bi);
lll->max_sdu = PDU_BIG_INFO_MAX_SDU_GET(bi);
/* Pick the 39-bit payload count, 1 MSb is framing bit */
lll->payload_count = (uint64_t)bi->payload_count_framing[0];