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

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

iwlwifi: mvm: ignore unchanged low-latency flag



If the low-latency update is called but there's no change then
ignore the update instead of triggering all the required work.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent d9662114
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -612,6 +612,9 @@ int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif,

	lockdep_assert_held(&mvm->mutex);

	if (mvmvif->low_latency == value)
		return 0;

	mvmvif->low_latency = value;

	res = iwl_mvm_update_quotas(mvm, NULL);