diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 31308c1de4ec..3e7b4c8576b2 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -2747,6 +2747,9 @@ void hci_release_dev(struct hci_dev *hdev) kfree_const(hdev->hw_info); kfree_const(hdev->fw_info); + if (hdev->dump.supported) { + disable_delayed_work_sync(&hdev->dump.dump_timeout); + } destroy_workqueue(hdev->workqueue); destroy_workqueue(hdev->req_workqueue);