From: Luiz Augusto von Dentz Date: Tue, 23 Mar 2021 23:25:33 +0000 (-0700) Subject: btdev: Set CIG ID and CIS ID when generating CIS requested X-Git-Tag: submit/tizen/20220313.220938~405 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fe9ae95f6b0887a576bd476824880179a5692fe;p=platform%2Fupstream%2Fbluez.git btdev: Set CIG ID and CIS ID when generating CIS requested This is required in order for the host to properly accept/reject the connection. Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- diff --git a/emulator/btdev.c b/emulator/btdev.c index d9d5c71..742c686 100755 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -4447,8 +4447,8 @@ static int cmd_create_cis_complete(struct btdev *dev, const void *data, evt.acl_handle = cpu_to_le16(acl->handle); evt.cis_handle = cpu_to_le16(iso->handle); - evt.cig_id = 0x00; - evt.cis_id = 0x00; + evt.cig_id = iso->dev->le_cig.params.cig_id; + evt.cis_id = iso->dev->le_cig.cis.cis_id; le_meta_event(iso->link->dev, BT_HCI_EVT_LE_CIS_REQ, &evt, sizeof(evt));