diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-03-29 12:55:16 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-03-29 12:55:16 -0700 |
commit | ca07d198f9c7d289e95091c30ed15bff2106a7db (patch) | |
tree | b76a564902ae6f829b15e9db11e599ec16e02731 /profiles/audio | |
parent | 54601cbcf283468ecb867d3db14ddbd1badbe858 (diff) | |
download | bluez-ca07d198f9c7d289e95091c30ed15bff2106a7db.tar.gz |
bap: Mark devices to auto-connect
This makes devices with BAP support to auto-connect once they start
advertising.
Diffstat (limited to 'profiles/audio')
-rw-r--r-- | profiles/audio/bap.c | 1 |
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; |