Diff between 252883241228f3149566f119336ce2c49a8d861e and 7d84f84cf41c0dd8e74849e3310f1fa028979526

Changed Files

File Additions Deletions Status
emulator/btdev.c +3 -0 modified

Full Patch

diff --git a/emulator/btdev.c b/emulator/btdev.c
index 08af873..70229d9 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -6604,6 +6604,9 @@ static int cmd_big_term_sync(struct btdev *dev, const void *data, uint8_t len)
 	/* Cleanup existing connections */
 	while ((conn = queue_pop_head(big->bis))) {
 		rsp.status = BT_HCI_ERR_SUCCESS;
+
+		/* Unlink conn from remote BIS */
+		conn_unlink(conn, conn->link);
 		conn_remove(conn);
 	}