Re: [PATCH v3 1/1] Bluetooth: hci_qca: Cleanup on all setup failures
From: Jinwang Li
Date: Tue Jan 06 2026 - 02:43:19 EST
On 1/6/2026 6:22 AM, Dmitry Baryshkov wrote:
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?
I will add this tag and update.
---
drivers/bluetooth/hci_qca.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)