All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v1 1/3] btdev: Fix not clearing le_pa_sync_handle on reset
@ 2024-01-25 14:29 Luiz Augusto von Dentz
  2024-01-25 14:29 ` [PATCH BlueZ v1 2/3] device: Add btd_device_set_connectable Luiz Augusto von Dentz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Luiz Augusto von Dentz @ 2024-01-25 14:29 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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 65ad0a40cb43..da94f29d12aa 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.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-25 19:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 14:29 [PATCH BlueZ v1 1/3] btdev: Fix not clearing le_pa_sync_handle on reset Luiz Augusto von Dentz
2024-01-25 14:29 ` [PATCH BlueZ v1 2/3] device: Add btd_device_set_connectable Luiz Augusto von Dentz
2024-01-25 14:29 ` [PATCH BlueZ v1 3/3] bap: Mark device as connectable if a broadcast Endpoint is found Luiz Augusto von Dentz
2024-01-25 15:55 ` [BlueZ,v1,1/3] btdev: Fix not clearing le_pa_sync_handle on reset bluez.test.bot
2024-01-25 19:10 ` [PATCH BlueZ v1 1/3] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.