diff options
author | Chaya Rachel Ivgi | 2016-02-14 13:03:10 +0100 |
---|---|---|
committer | Emmanuel Grumbach | 2016-03-09 20:05:13 +0100 |
commit | b358993b3f582f43a6098028b5b08d084dff4d24 (patch) | |
tree | 5c70d0ad409f7768327b9cc5b23f19d5299b0f8f /drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | |
parent | iwlwifi: mvm: remove RRM advertisement (diff) | |
download | kernel-qcow2-linux-b358993b3f582f43a6098028b5b08d084dff4d24.tar.gz kernel-qcow2-linux-b358993b3f582f43a6098028b5b08d084dff4d24.tar.xz kernel-qcow2-linux-b358993b3f582f43a6098028b5b08d084dff4d24.zip |
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>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/mvm.h')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h index b869db9afc52..9abbc93e3c06 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mvm.h @@ -543,8 +543,8 @@ struct iwl_mvm_thermal_device { }; /* - * iwl_mvm_cooling_device - * @cur_state: current state in milliwatts + * struct iwl_mvm_cooling_device + * @cur_state: current state * @cdev: struct thermal cooling device */ struct iwl_mvm_cooling_device { |