iwlwifi: mvm: reset Thermal Throttling's SMPS request upon disassociation
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 6 Jan 2014 11:38:55 +0000 (13:38 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 13 Jan 2014 20:17:18 +0000 (22:17 +0200)
The request of SMPS issued by the Thermal Throttling code
was not reset when we disassociated - fix that.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c

index 797b4d91cfd7c9ef8deb45695485837174581f07..e843080b5c0b99aee11d7807fb0f7f9576228208 100644 (file)
@@ -944,6 +944,8 @@ static void iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm,
                                IWL_ERR(mvm, "failed to update power mode\n");
                }
                iwl_mvm_bt_coex_vif_change(mvm);
+               iwl_mvm_update_smps(mvm, vif, IWL_MVM_SMPS_REQ_TT,
+                                   IEEE80211_SMPS_AUTOMATIC);
        } else if (changes & BSS_CHANGED_BEACON_INFO) {
                /*
                 * We received a beacon _after_ association so