Searched hist:"75 cfe338" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | fw.c | 75cfe338 Wed Sep 14 03:54:36 CDT 2016 Luca Coelho <luciano.coelho@intel.com> iwlwifi: mvm: bail out if CTDP start operation fails
We were assigning the return value of iwl_mvm_ctdp_command() to a variable, but never checking it. If this command fails, we should not allow the interface up process to proceed, since it is potentially dangerous to ignore thermal management requirements.
Fixes: commit 5c89e7bc557e ("iwlwifi: mvm: add registration to cooling device") Signed-off-by: Luca Coelho <luciano.coelho@intel.com> 75cfe338 Wed Sep 14 03:54:36 CDT 2016 Luca Coelho <luciano.coelho@intel.com> iwlwifi: mvm: bail out if CTDP start operation fails We were assigning the return value of iwl_mvm_ctdp_command() to a variable, but never checking it. If this command fails, we should not allow the interface up process to proceed, since it is potentially dangerous to ignore thermal management requirements. Fixes: commit 5c89e7bc557e ("iwlwifi: mvm: add registration to cooling device") Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
|