Skip to content

Commit

Permalink
iwlwifi: mvm: don't request SMPS on non-STA iface
Browse files Browse the repository at this point in the history
The Thermal Throttling code could do that, fix it.

Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Eytan Lifshitz authored and Johannes Berg committed Jun 5, 2013
1 parent 9116a36 commit fded313
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/wireless/iwlwifi/mvm/tt.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@ static void iwl_mvm_tt_smps_iterator(void *_data, u8 *mac,
else
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);
}

Expand Down

0 comments on commit fded313

Please sign in to comment.