Commit a0916f3f authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Seth Forshee

iwlwifi: mvm: don't use ret when not initialised

BugLink: http://bugs.launchpad.net/bugs/1631468

commit ff6e58e6 upstream.

fw-dbg code return ret but that variable was either 0
or not initialised. Return 0 always.
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: 6a951267 ("iwlwifi: mvm: send dbg config hcmds to fw if set in tlv")
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent 30435e83
......@@ -935,7 +935,8 @@ int iwl_mvm_start_fw_dbg_conf(struct iwl_mvm *mvm, u8 conf_id)
}
mvm->fw_dbg_conf = conf_id;
return ret;
return 0;
}
static int iwl_mvm_config_ltr(struct iwl_mvm *mvm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment