OSDN Git Service

Bluetooth: Attempt to clear HCI_LE_ADV on adv set terminated error event
authorArchie Pusaka <apusaka@chromium.org>
Thu, 11 Nov 2021 05:20:54 +0000 (13:20 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 16 Nov 2021 14:17:51 +0000 (15:17 +0100)
commit1f9d56574334590b836695cfec78dad029f36dba
treefa1bc85a303c3d9f543db3f1a5fc13337941fe13
parent0f281a5e5b673698c246da5d7bf0d5fa427c47c5
Bluetooth: Attempt to clear HCI_LE_ADV on adv set terminated error event

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@chromium.org>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c