diff options
author | Chaya Rachel Ivgi | 2016-03-03 12:31:39 +0100 |
---|---|---|
committer | Emmanuel Grumbach | 2016-03-07 12:34:15 +0100 |
commit | 04ddc2aacc1c52793c1e30db5073bef6fbc08942 (patch) | |
tree | 5ab920bf96df29adeefd5ea3b380b593aba54aa5 /drivers/net/netconsole.c | |
parent | iwlwifi: refactor the code that reads the MAC address from the NVM (diff) | |
download | kernel-qcow2-linux-04ddc2aacc1c52793c1e30db5073bef6fbc08942.tar.gz kernel-qcow2-linux-04ddc2aacc1c52793c1e30db5073bef6fbc08942.tar.xz kernel-qcow2-linux-04ddc2aacc1c52793c1e30db5073bef6fbc08942.zip |
iwlwifi: mvm: fix unregistration of thermal in some error flows
The call to iwl_mvm_thermal_initialize() was too early in the
function.
Unregister will be performed when goto out_unregister is called,
but as the code was - out_free may be called and leave without
unregistering from thermal.
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/netconsole.c')
0 files changed, 0 insertions, 0 deletions