Re: [PATCH] Bluetooth: mgmt: Translate HCI reason in Device Disconnected event

From: patchwork-bot+bluetooth

Date: Fri Jul 10 2026 - 16:10:54 EST


Hello:

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

On Fri, 10 Jul 2026 14:47:31 +0500 you wrote:
> MGMT_EV_DEVICE_DISCONNECTED carries a reason field which is defined to
> be one of MGMT_DEV_DISCONN_* (0x00..0x05). hci_disconn_complete_evt()
> converts the HCI error with hci_to_mgmt_reason(), but two other paths
> pass the raw HCI error straight through:
>
> hci_cs_disconnect() -> cp->reason
> mgmt_connect_failed() -> status
>
> [...]

Here is the summary with links:
- Bluetooth: mgmt: Translate HCI reason in Device Disconnected event
https://git.kernel.org/bluetooth/bluetooth-next/c/eab19cb7618e

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