diff mbox series

[BlueZ,1/2] bap: Mark devices to auto-connect

Message ID 20230329210932.537019-1-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,1/2] bap: Mark devices to auto-connect | expand

Commit Message

Luiz Augusto von Dentz March 29, 2023, 9:09 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This makes devices with BAP support to auto-connect once they start
advertising.
---
 profiles/audio/bap.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index cfe6854663fa..464f365a93bc 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -1352,6 +1352,7 @@  static struct btd_profile bap_profile = {
 	.device_remove	= bap_remove,
 	.accept		= bap_accept,
 	.disconnect	= bap_disconnect,
+	.auto_connect	= true,
 };
 
 static unsigned int bap_id = 0;