From ca07d198f9c7d289e95091c30ed15bff2106a7db Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 29 Mar 2023 12:55:16 -0700 Subject: bap: Mark devices to auto-connect This makes devices with BAP support to auto-connect once they start advertising. --- profiles/audio/bap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index cfe685466..464f365a9 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; -- cgit v1.2.1