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

Commit 077bcbcc authored by Ghanim Fodi's avatar Ghanim Fodi
Browse files

msm: ipa3: Silently fail on default flt install



ipa3_install_dflt_flt_rules() that installs filtering rules, could
fail when trying to install a default filtering table on a pipe
which is not filtering enabled.
As this function could be called from contexts which are not always
aware of filtering supportability, the function will now silently
fail.

Signed-off-by: default avatarGhanim Fodi <gfodi@codeaurora.org>
Change-Id: I75ced9b9729401b2d24a83b2d8a9e33db36a74bc
parent 90c540cd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1676,7 +1676,8 @@ void ipa3_install_dflt_flt_rules(u32 ipa_ep_idx)
	struct ipa_flt_rule rule;

	if (!ipa_is_ep_support_flt(ipa_ep_idx)) {
		IPAERR("cannot add flt rules to non filtering pipe");
		IPADBG("cannot add flt rules to non filtering pipe num %d\n",
			ipa_ep_idx);
		return;
	}