From 1450819e2308128872bd2e97e267e68d8f92ce1c Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 21 May 2020 10:35:10 -0700 Subject: [PATCH] emulator: Don't require ACL connection for Setup ISO Data Path LE Setup ISO Data Path can be used even before the ACL handle exists when master since Set CIG Parameters will respond with ISO handle it can then be used to setup the data path in advance of ACL connection. --- emulator/btdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index c5c333f80..3fb860855 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -2427,7 +2427,7 @@ static void le_setup_iso_path(struct btdev *dev, uint16_t handle, memset(&rsp, 0, sizeof(rsp)); - if (!dev->conn || handle != ISO_HANDLE) { + if (handle != ISO_HANDLE) { rsp.status = BT_HCI_ERR_UNKNOWN_CONN_ID; goto done; } -- 2.47.3