iwlwifi: mvm: return the cooling state index instead of the budget
authorChaya Rachel Ivgi <chaya.rachel.ivgi@intel.com>
Sun, 14 Feb 2016 12:03:10 +0000 (14:03 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 9 Mar 2016 19:05:13 +0000 (21:05 +0200)
commitb358993b3f582f43a6098028b5b08d084dff4d24
tree5c70d0ad409f7768327b9cc5b23f19d5299b0f8f
parent416cb2467bba25a6729b95e1ada0254a9477a360
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>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
This page took 0.033284 seconds and 5 git commands to generate.