Diff between 29cb1b0b10fd3ab94cf38c059f7bcdb8ba2933bd and c5616c255b138d26af32ac306a6622825803ee69

Changed Files

File Additions Deletions Status
src/shared/bass.c +3 -0 modified

Full Patch

diff --git a/src/shared/bass.c b/src/shared/bass.c
index 6efacb2..d99a140 100644
--- a/src/shared/bass.c
+++ b/src/shared/bass.c
@@ -1793,6 +1793,9 @@ int bt_bass_set_bis_sync(struct bt_bcast_src *bcast_src, uint8_t bis)
 		if (sgrp->pending_bis_sync & bitmask) {
 			sgrp->bis_sync |= bitmask;
 
+			if (bcast_src->enc == BT_BASS_BIG_ENC_STATE_BCODE_REQ)
+				bcast_src->enc = BT_BASS_BIG_ENC_STATE_DEC;
+
 			iov = bass_parse_bcast_src(bcast_src);
 			if (!iov)
 				return -ENOMEM;