diff options
author | Eytan Lifshitz <eytan.lifshitz@intel.com> | 2013-06-04 13:28:51 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-05 11:06:13 +0400 |
commit | fded313ec045024d4f769ce6b3e41fe343c167b0 (patch) | |
tree | 97f48e055c2cb2e6188cc48a5ddf745805e6ebbe /drivers/net/wireless/iwlwifi | |
parent | 9116a3683902583a302ac5dcb283416d504d9bb4 (diff) | |
download | linux-fded313ec045024d4f769ce6b3e41fe343c167b0.tar.xz |
iwlwifi: mvm: don't request SMPS on non-STA iface
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/tt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tt.c b/drivers/net/wireless/iwlwifi/mvm/tt.c index 4665fc033c17..a7e3b8ddf22b 100644 --- a/drivers/net/wireless/iwlwifi/mvm/tt.c +++ b/drivers/net/wireless/iwlwifi/mvm/tt.c @@ -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); } |