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

Commit fded313e authored by Eytan Lifshitz's avatar Eytan Lifshitz Committed by Johannes Berg
Browse files

iwlwifi: mvm: don't request SMPS on non-STA iface



The Thermal Throttling code could do that, fix it.

Signed-off-by: default avatarEytan Lifshitz <eytan.lifshitz@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 9116a368
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -371,6 +371,9 @@ static void iwl_mvm_tt_smps_iterator(void *_data, u8 *mac,
	else
	else
		smps_mode = IEEE80211_SMPS_AUTOMATIC;
		smps_mode = IEEE80211_SMPS_AUTOMATIC;


	if (vif->type != NL80211_IFTYPE_STATION)
		return;

	iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_TT, smps_mode);
	iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_TT, smps_mode);
}
}