ath10k: add atomic protection for device recovery
[sfrench/cifs-2.6.git] / drivers / net / wireless / ath / ath10k / pci.c
index 8ab262931dce339541ab86c44d01da3b74f717b6..2328df09875cede9e326408acfa8899c44eeed68 100644 (file)
@@ -1774,7 +1774,7 @@ static void ath10k_pci_fw_dump_work(struct work_struct *work)
 
        mutex_unlock(&ar->dump_mutex);
 
-       queue_work(ar->workqueue, &ar->restart_work);
+       ath10k_core_start_recovery(ar);
 }
 
 static void ath10k_pci_fw_crashed_dump(struct ath10k *ar)