commit | b358993b3f582f43a6098028b5b08d084dff4d24 | [log] [tgz] |
---|---|---|
author | Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com> | Sun Feb 14 14:03:10 2016 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Wed Mar 09 21:05:13 2016 +0200 |
tree | 5c70d0ad409f7768327b9cc5b23f19d5299b0f8f | |
parent | 416cb2467bba25a6729b95e1ada0254a9477a360 [diff] |
iwlwifi: mvm: return the cooling state index instead of the budget iwl_mvm_tcool_get_cur_state is the function that returns the cooling state index to the sysfs handler. This function returns mvm->cooling_dev.cur_state but that variable was set to the budget and not the cooling state index. Fix that. Add a missing blank line while at it. Signed-off-by: Chaya Rachel Ivgi <chaya.rachel.ivgi@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>