Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30d23c3c authored by Sara Sharon's avatar Sara Sharon Committed by Luca Coelho
Browse files

iwlwifi: mvm: remove call for paging in new init flow



Now that transport inits the paging in the context info -
remove the call in mvm.

Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent eda50cde
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -850,14 +850,6 @@ int iwl_run_unified_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm)
		goto error;
	}

	/* TODO: remove when integrating context info */
	ret = iwl_mvm_init_paging(mvm);
	if (ret) {
		IWL_ERR(mvm, "Failed to init paging: %d\n",
			ret);
		goto error;
	}

	/* Read the NVM only at driver load time, no need to do this twice */
	if (read_nvm) {
		/* Read nvm */
+2 −1
Original line number Diff line number Diff line
@@ -1709,6 +1709,7 @@ 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)
{
	if (!iwl_mvm_has_new_tx_api(mvm))
		iwl_free_fw_paging(mvm);
	mvm->ucode_loaded = false;
	iwl_trans_stop_device(mvm->trans);