From 460dd92431ea328b88bbdb1169fcb06b755d5c6f Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 25 Jan 2024 09:09:38 -0500 Subject: [PATCH] btdev: Fix not clearing le_pa_sync_handle on reset le_pa_sync_handle needs to be clear on reset otherwise the coce won't be able to handle Create PA Sync commands. --- emulator/btdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/emulator/btdev.c b/emulator/btdev.c index 65ad0a40c..da94f29d1 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -562,6 +562,7 @@ static void btdev_reset(struct btdev *btdev) btdev->le_scan_enable = 0x00; btdev->le_adv_enable = 0x00; btdev->le_pa_enable = 0x00; + btdev->le_pa_sync_handle = 0x0000; al_clear(btdev); rl_clear(btdev); -- 2.47.3