|
@@ -1709,7 +1709,8 @@ void iwl_mvm_enable_ac_txq(struct iwl_mvm *mvm, int queue, int mac80211_queue,
|
|
|
|
|
|
static inline void iwl_mvm_stop_device(struct iwl_mvm *mvm)
|
|
static inline void iwl_mvm_stop_device(struct iwl_mvm *mvm)
|
|
{
|
|
{
|
|
- iwl_free_fw_paging(mvm);
|
|
|
|
|
|
+ if (!iwl_mvm_has_new_tx_api(mvm))
|
|
|
|
+ iwl_free_fw_paging(mvm);
|
|
mvm->ucode_loaded = false;
|
|
mvm->ucode_loaded = false;
|
|
iwl_trans_stop_device(mvm->trans);
|
|
iwl_trans_stop_device(mvm->trans);
|
|
}
|
|
}
|