From: uos-eng <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] 454ff2: adapter: Trigger profile connection on inbound dev...
Date: Tue, 14 Jul 2026 02:19:47 -0700 [thread overview]
Message-ID: <bluez/bluez/push/refs/heads/1127225/000000-454ff2@github.com> (raw)
Branch: refs/heads/1127225
Home: https://github.com/bluez/bluez
Commit: 454ff2ff75699a2fb88b5ad2ff0b6f99ed923aa3
https://github.com/bluez/bluez/commit/454ff2ff75699a2fb88b5ad2ff0b6f99ed923aa3
Author: Chengyi Zhao <chengyi.zhao@qq.com>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M src/adapter.c
Log Message:
-----------
adapter: Trigger profile connection on inbound device connection
When a bonded device initiates an inbound ACL connection before the
host sends an outbound one (e.g., after resume the remote wins the
race), BlueZ accepts the ACL link via connected_callback() but does
not establish AVDTP/AVCTP profiles. The remote's subsequent L2CAP
connect for PSM 25 fails with "security block" because the link is
not yet encrypted, and the kernel does not retry. The ACL link stays
up with no audio.
Fix: in connected_callback(), call btd_device_connect_services() for
bonded inbound devices. This initiates outbound profile connections
from the host side. Unlike inbound L2CAP, outbound L2CAP is queued
by the kernel until encryption completes, so it survives the race.
Safe when the host already won: the function returns -EBUSY if
dev->connect or dev->pending is set.
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
reply other threads:[~2026-07-14 9:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bluez/bluez/push/refs/heads/1127225/000000-454ff2@github.com \
--to=noreply@github.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox