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

Commit 7f32c71f authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: Fix reading the VLAN parameters"

parents 84cca6ff af4e45e0
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -6442,9 +6442,6 @@ static ssize_t ipa3_write(struct file *file, const char __user *buf,

	IPADBG("user input string %s\n", dbg_buff);

	/* Prevent consequent calls from trying to load the FW again. */
	if (ipa3_is_ready())
		return count;

	/*Ignore empty ipa_config file*/
	for (i = 0 ; i < count ; ++i) {
@@ -6498,6 +6495,10 @@ static ssize_t ipa3_write(struct file *file, const char __user *buf,
			ipa3_ctx->ipa_config_is_mhi ? "" : "non ");
	}

	/* Prevent consequent calls from trying to load the FW again. */
	if (ipa3_is_ready())
		return count;

	/* Prevent multiple calls from trying to load the FW again. */
	if (ipa3_ctx->fw_loaded) {
		IPAERR("not load FW again\n");