iwlwifi: mvm: clear tt values when entering CT-kill
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 15 Dec 2014 12:15:15 +0000 (14:15 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 28 Dec 2014 18:00:15 +0000 (20:00 +0200)
commit19789abbe5dcd9ac1730b6acf04f2bddfeadefce
tree882124cefe7b75e3c09ab9f02a08fcc59868ad69
parent435da2ce52365d7d7c0056786eca2464d70e90a5
iwlwifi: mvm: clear tt values when entering CT-kill

Clear the thermal throttling values when entering CT-kill, since
everything will be reinitialized anyway when we exit CT-kill.

Additionally, clear the dynamic_smps value in the initialization
funciton, for consistency.

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