|
@@ -1416,13 +1416,13 @@ int ath10k_wait_for_suspend(struct ath10k *ar, u32 suspend_opt)
|
|
void ath10k_core_stop(struct ath10k *ar)
|
|
void ath10k_core_stop(struct ath10k *ar)
|
|
{
|
|
{
|
|
lockdep_assert_held(&ar->conf_mutex);
|
|
lockdep_assert_held(&ar->conf_mutex);
|
|
|
|
+ ath10k_debug_stop(ar);
|
|
|
|
|
|
/* try to suspend target */
|
|
/* try to suspend target */
|
|
if (ar->state != ATH10K_STATE_RESTARTING &&
|
|
if (ar->state != ATH10K_STATE_RESTARTING &&
|
|
ar->state != ATH10K_STATE_UTF)
|
|
ar->state != ATH10K_STATE_UTF)
|
|
ath10k_wait_for_suspend(ar, WMI_PDEV_SUSPEND_AND_DISABLE_INTR);
|
|
ath10k_wait_for_suspend(ar, WMI_PDEV_SUSPEND_AND_DISABLE_INTR);
|
|
|
|
|
|
- ath10k_debug_stop(ar);
|
|
|
|
ath10k_hif_stop(ar);
|
|
ath10k_hif_stop(ar);
|
|
ath10k_htt_tx_free(&ar->htt);
|
|
ath10k_htt_tx_free(&ar->htt);
|
|
ath10k_htt_rx_free(&ar->htt);
|
|
ath10k_htt_rx_free(&ar->htt);
|