Re: [PATCH v3 1/1] Bluetooth: hci_qca: Cleanup on all setup failures
From: Dmitry Baryshkov
Date: Mon Jan 05 2026 - 17:22:23 EST
On Mon, Jan 05, 2026 at 10:14:27PM +0800, Jinwang Li wrote:
> The setup process previously combined error handling and retry gating
> under one condition. As a result, the final failed attempt exited
> without performing cleanup.
>
> Update the failure path to always perform power and port cleanup on
> setup failure, and reopen the port only when retrying.
>
> Signed-off-by: Jinwang Li <jinwang.li@xxxxxxxxxxxxxxxx>
Fixes?
> ---
> drivers/bluetooth/hci_qca.c | 23 ++++++++++++++---------
> 1 file changed, 14 insertions(+), 9 deletions(-)
>
--
With best wishes
Dmitry