projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9116a36
)
iwlwifi: mvm: don't request SMPS on non-STA iface
author
Eytan Lifshitz
<eytan.lifshitz@intel.com>
Tue, 4 Jun 2013 09:28:51 +0000
(12:28 +0300)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 5 Jun 2013 07:06:13 +0000
(09:06 +0200)
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>
drivers/net/wireless/iwlwifi/mvm/tt.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/mvm/tt.c
b/drivers/net/wireless/iwlwifi/mvm/tt.c
index 4665fc033c1752503221ad4284eb567182dfbf3f..a7e3b8ddf22b87e91abad2dafd3cd7a0be3aede2 100644
(file)
--- 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);
}