aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/bluetooth/hci_request.c')
-rw-r--r--net/bluetooth/hci_request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c
index e8345d8106b5..76bd912be9fe 100644
--- a/net/bluetooth/hci_request.c
+++ b/net/bluetooth/hci_request.c
@@ -1270,6 +1270,8 @@ void hci_request_setup(struct hci_dev *hdev)
1270 1270
1271void hci_request_cancel_all(struct hci_dev *hdev) 1271void hci_request_cancel_all(struct hci_dev *hdev)
1272{ 1272{
1273 hci_req_sync_cancel(hdev, ENODEV);
1274
1273 cancel_work_sync(&hdev->discov_update); 1275 cancel_work_sync(&hdev->discov_update);
1274 cancel_work_sync(&hdev->bg_scan_update); 1276 cancel_work_sync(&hdev->bg_scan_update);
1275 cancel_delayed_work_sync(&hdev->le_scan_disable); 1277 cancel_delayed_work_sync(&hdev->le_scan_disable);