Commit c95f1fcd authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Johannes Berg
Browse files

wifi: iwlwifi: mvm: don't call power_update_mac in fast suspend



We don't have any interface anyway.
Trying to send a command after the D3_CONFIG command is also a really
bad idea.
No harm done since this function wouldn't send anything to the firmware
anyway.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarMiri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241028135215.2636b358c870.I36717b4cff98eaa79182e0f3b5404f71aeeaf2f9@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 98ea9d59
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3682,8 +3682,6 @@ void iwl_mvm_fast_suspend(struct iwl_mvm *mvm)
		IWL_ERR(mvm,
			"fast suspend: couldn't send D3_CONFIG_CMD %d\n", ret);

	WARN_ON(iwl_mvm_power_update_mac(mvm));

	ret = iwl_trans_d3_suspend(mvm->trans, false, false);
	if (ret)
		IWL_ERR(mvm, "fast suspend: trans_d3_suspend failed %d\n", ret);