Diff between 3c65f88d47346ff04a1201a6274dac3dd96247d9 and fccfc3b5e6c4fe94d1196d61062b35e878f84899
Changed Files
| File | Additions | Deletions | Status |
| emulator/btdev.c | +4 | -2 | modified |
Full Patch
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 2af349e..c824f48 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -4074,8 +4074,10 @@ static void le_ext_conn_complete(struct btdev *btdev,
if (!conn)
return;
- btdev->le_adv_enable = 0;
- conn->link->dev->le_adv_enable = 0;
+ if (!btdev->le_ext_adv_type) {
+ btdev->le_adv_enable = 0;
+ conn->link->dev->le_adv_enable = 0;
+ }
ev.status = status;
ev.peer_addr_type = btdev->le_scan_own_addr_type;