summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-03-29 12:55:16 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-03-29 12:55:16 -0700
commitca07d198f9c7d289e95091c30ed15bff2106a7db (patch)
treeb76a564902ae6f829b15e9db11e599ec16e02731
parent54601cbcf283468ecb867d3db14ddbd1badbe858 (diff)
downloadbluez-ca07d198f9c7d289e95091c30ed15bff2106a7db.tar.gz
bap: Mark devices to auto-connect
This makes devices with BAP support to auto-connect once they start advertising.
-rw-r--r--profiles/audio/bap.c1
1 files changed, 1 insertions, 0 deletions
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;