提交 ff6e58e6 编写于 作者: E Emmanuel Grumbach 提交者: Luca Coelho

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

fw-dbg code return ret but that variable was either 0
or not initialised. Return 0 always.
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: 6a951267 ("iwlwifi: mvm: send dbg config hcmds to fw if set in tlv")
Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
上级 bdc98b13
......@@ -960,5 +960,6 @@ int iwl_mvm_start_fw_dbg_conf(struct iwl_mvm *mvm, u8 conf_id)
}
mvm->fw_dbg_conf = conf_id;
return ret;
return 0;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册