Re: [PATCH 12/13] Bluetooth: btqca: Fix undetected error HCI status in qca_send_reset()

From: Bartosz Golaszewski

Date: Tue Jun 23 2026 - 05:03:49 EST


On Mon, 22 Jun 2026 16:52:25 +0200, Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx> said:
> qca_send_reset() uses __hci_cmd_sync() which returns an skb but never
> reads the HCI status byte from skb->data[0], so a non-zero error status
> returned by the controller is silently ignored.
>
> Fix by replacing qca_send_reset() with __hci_reset_sync() which
> properly extracts and converts the HCI status byte to a negative errno.
>
> Fixes: 83e81961ff7e ("Bluetooth: btqca: Introduce generic QCA ROME support")
> Signed-off-by: Zijun Hu <zijun.hu@xxxxxxxxxxxxxxxx>
> ---

I think the fix should go in the front of the series. Even if it requires the
new function.

Bart