Linux bluetooth development
 help / color / mirror / Atom feed
From: patchwork-bot+bluetooth@kernel.org
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v2] Bluetooth: hci_event: Fix not emitting Device Connected event
Date: Fri, 04 Dec 2026 15:40:04 +0000	[thread overview]
Message-ID: <179639880490.1232901.12641050965610717250.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261204140627.1150694-1-luiz.dentz@gmail.com>

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Fri,  4 Dec 2026 09:06:27 -0500 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> If the remote initiates the connection and requests authentication
> early, the Encryption Change event may arrive before Read Remote
> Supported Features Complete. hci_encrypt_cfm() then moves the
> connection from BT_CONFIG to BT_CONNECTED, and hci_remote_features_evt()
> bails out since the state is no longer BT_CONFIG, so the path leading
> to mgmt_device_connected() is never taken and MGMT_EV_DEVICE_CONNECTED
> is never emitted. Userspace then services the connection without
> knowing it exists ("Authorization request for non-connected device!?")
> and Device1.Connected stays false.
> 
> [...]

Here is the summary with links:
  - [v2] Bluetooth: hci_event: Fix not emitting Device Connected event
    https://git.kernel.org/bluetooth/bluetooth-next/c/add478b0177d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      reply	other threads:[~2026-12-04 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 14:06 [PATCH v2] Bluetooth: hci_event: Fix not emitting Device Connected event Luiz Augusto von Dentz
2026-12-04 15:40 ` patchwork-bot+bluetooth [this message]

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=179639880490.1232901.12641050965610717250.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+bluetooth@kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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