|
@@ -1272,6 +1272,9 @@ static void ath10k_pci_hif_stop(struct ath10k *ar)
|
|
|
|
|
|
ath10k_dbg(ATH10K_DBG_BOOT, "boot hif stop\n");
|
|
ath10k_dbg(ATH10K_DBG_BOOT, "boot hif stop\n");
|
|
|
|
|
|
|
|
+ if (WARN_ON(!ar_pci->started))
|
|
|
|
+ return;
|
|
|
|
+
|
|
ret = ath10k_ce_disable_interrupts(ar);
|
|
ret = ath10k_ce_disable_interrupts(ar);
|
|
if (ret)
|
|
if (ret)
|
|
ath10k_warn("failed to disable CE interrupts: %d\n", ret);
|
|
ath10k_warn("failed to disable CE interrupts: %d\n", ret);
|