diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2016-09-14 08:54:36 (GMT) |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-09-22 20:25:36 (GMT) |
commit | 75cfe338b8a6fadaa28879a969047554701a7589 (patch) | |
tree | 8a3c6b2afc36d17a74450722f3fb9cc75c00e363 /drivers/net/ipvlan | |
parent | cc2f41f84fdc68074e228397247acd32ad06440a (diff) | |
download | linux-75cfe338b8a6fadaa28879a969047554701a7589.tar.xz |
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>
Diffstat (limited to 'drivers/net/ipvlan')
0 files changed, 0 insertions, 0 deletions