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

Commit 391665a1 authored by Ravi Gummadidala's avatar Ravi Gummadidala
Browse files

msm: ipa: fix bug in routing table deletion



When a routing table is ready to be deleted, lookup was
failing due to an erroneous check on return value. This
commit fixes that bug.

Change-Id: I1bd12553d60163ca77d7770e2370790e4f9a3b05
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent 5830ea78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -752,7 +752,7 @@ static int __ipa_del_rt_tbl(struct ipa_rt_tbl *entry)
		return -EINVAL;
	}
	id = entry->id;
	if (ipa_id_find(id)) {
	if (ipa_id_find(id) == NULL) {
		IPAERR("lookup failed\n");
		return -EPERM;
	}