Re: [PATCH v3 2/2] Bluetooth: Attempt to clear HCI_LE_ADV on adv set terminated error event

From: Marcel Holtmann
Date: Tue Nov 16 2021 - 09:18:30 EST


Hi Archie,

> We should clear the flag if the adv instance removed due to receiving
> this error status is the last one we have.
>
> Signed-off-by: Archie Pusaka <apusaka@xxxxxxxxxxxx>
> Reviewed-by: Miao-chen Chou <mcchou@xxxxxxxxxxxx>
>
> ---
>
> Changes in v3:
> * Check adv->enabled rather than just checking for list empty
>
> net/bluetooth/hci_event.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel