From: Luiz Augusto von Dentz Date: Thu, 14 Jan 2021 20:54:13 +0000 (-0800) Subject: emulator: Fix sending CIS Requested to Create CIS device X-Git-Tag: submit/tizen/20220313.220938~496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c870d34ccf418f1fc91b56b5e1bda4742b36bbf;p=platform%2Fupstream%2Fbluez.git emulator: Fix sending CIS Requested to Create CIS device CIS Requested shall be send to the remote peer not the originating one. Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- diff --git a/emulator/btdev.c b/emulator/btdev.c index 17965f9..73c0db3 100755 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -4408,7 +4408,7 @@ static int cmd_create_cis_complete(struct btdev *dev, const void *data, evt.cig_id = 0x00; evt.cis_id = 0x00; - le_meta_event(iso->dev, BT_HCI_EVT_LE_CIS_REQ, &evt, + le_meta_event(iso->link->dev, BT_HCI_EVT_LE_CIS_REQ, &evt, sizeof(evt)); }