This fixes bt_bass_clear_bis_sync by checking the bitmask which contains synced BIS indeces, instead of the mask holding pending BISes. --- src/shared/bass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/bass.c b/src/shared/bass.c index d99a140a1..1ab1a0a44 100644 --- a/src/shared/bass.c +++ b/src/shared/bass.c @@ -1819,7 +1819,7 @@ int bt_bass_clear_bis_sync(struct bt_bcast_src *bcast_src, uint8_t bis) &bcast_src->subgroup_data[i]; uint32_t bitmask = 1 << (bis - 1); - if (sgrp->pending_bis_sync & bitmask) { + if (sgrp->bis_sync & bitmask) { sgrp->bis_sync &= ~bitmask; iov = bass_parse_bcast_src(bcast_src); -- 2.43.0