diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index c86f4e42e..964a77957 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -5236,6 +5236,7 @@ int hci_dev_close_sync(struct hci_dev *hdev) /* flush cmd work */ flush_work(&hdev->cmd_work); + cancel_work_sync(&hdev->cmd_work); /* Drop queues */ skb_queue_purge(&hdev->rx_q);