Diff between 0b3d49f4e03014a911c421896ae727bba9e09ba1 and f8e7bcfdfb83a6a3becabdba1e4448bf04e32db5
Changed Files
| File | Additions | Deletions | Status |
| emulator/btdev.c | +1 | -1 | modified |
Full Patch
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 1b7b75c..7e4cb93 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -5750,7 +5750,7 @@ static int cmd_pa_create_sync_complete(struct btdev *dev, const void *data,
* synchronization can only occur when scanning is enabled. While
* scanning is disabled, no attempt to synchronize will take place.
*/
- if (!dev->scan_enable)
+ if (!dev->le_scan_enable)
return 0;
remote = find_btdev_by_bdaddr_type(cmd->addr, cmd->addr_type);