Re: [PATCH] Bluetooth: hci_qca: Fix uninitialized access to hdev

From: Marcel Holtmann
Date: Wed May 20 2020 - 13:13:24 EST


Hi Abhishek,

> hdev is always allocated and not only when power control is required.
>
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@xxxxxxxxxxxx>
> ---
>
> drivers/bluetooth/hci_qca.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel