Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff6e58e6 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Luca Coelho
Browse files

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: 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>
parent bdc98b13
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
}