Diff between 0a3cb681295ea8962c7a53c4e6e84373c6d36131 and 7f272742be3693bf9921bccbe65ba3a8987b960c

Changed Files

File Additions Deletions Status
emulator/btdev.c +2 -1 modified

Full Patch

diff --git a/emulator/btdev.c b/emulator/btdev.c
index 05604a9..f02103f 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -3882,7 +3882,8 @@ static void le_ext_conn_complete(struct btdev *btdev,
 	memcpy(ev.peer_addr, cmd->peer_addr, 6);
 	ev.role = 0x00;
 
-	send_event(btdev, BT_HCI_EVT_LE_META_EVENT, &ev, sizeof(ev));
+	le_meta_event(btdev, BT_HCI_EVT_LE_ENHANCED_CONN_COMPLETE, &ev,
+						sizeof(ev));
 }
 
 static int cmd_ext_create_conn_complete(struct btdev *dev, const void *data,