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

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

msm: ipa3: Cleanup MHIP Dl rules condition fix



Fix the condition for remove connection QMI to allow zero-length
message for cleaning up MHIP DL rules.

Change-Id: I9f6e5a810ec72b5ed16270ed9c7088d5c68f7c3b
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 597b0885
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1027,7 +1027,7 @@ int ipa3_qmi_rmv_offload_request_send(
	}

	/* check if the # of handles from IPACM is valid */
	if (req->filter_handle_list_len == 0) {
	if (!req->clean_all_rules_valid && req->filter_handle_list_len == 0) {
		IPAWANDBG("IPACM deleted zero rules !\n");
		return -EINVAL;
	}