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

Commit c310f122 authored by Michael Adisumarta's avatar Michael Adisumarta Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: IMD command bugfixes



IMD command syntax fix for increment and adding a return
condition for parameter check.

Change-Id: I3e171bd09c3a4ae0d679348186cae1f87da076fe
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 179baba0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1129,7 +1129,7 @@ int ipa_init_flt_rt_stats(void)
	desc[num_cmd].pyld = flt_v4_base_pyld->data;
	desc[num_cmd].len = flt_v4_base_pyld->len;
	desc[num_cmd].type = IPA_IMM_CMD_DESC;
	+num_cmd;
	++num_cmd;

	/* set IPA_STAT_FILTER_IPV6_BASE */
	flt_v6_base.skip_pipeline_clear = false;
+4 −1
Original line number Diff line number Diff line
@@ -6374,8 +6374,11 @@ int ipa3_tag_process(struct ipa3_desc desc[],
		memcpy(&(tag_desc[0]), desc, descs_num *
			sizeof(tag_desc[0]));
		desc_idx += descs_num;
	} else
	} else {
		res = -EFAULT;
		IPAERR("desc is NULL\n");
		goto fail_free_tag_desc;
	}

	/* IC to close the coal frame before HPS Clear if coal is enabled */
	if (ipa3_get_ep_mapping(IPA_CLIENT_APPS_WAN_COAL_CONS) != -1) {