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

Commit 83110208 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: Fix to validate check for IP type"

parents 8df0c001 0bba795b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -839,11 +839,12 @@ int ipa3_qmi_ul_filter_request_send(
		if (req->firewall_rules_list[i].ip_type !=
				QMI_IPA_IP_TYPE_V4_V01 &&
			req->firewall_rules_list[i].ip_type !=
				QMI_IPA_IP_TYPE_V6_V01)
				QMI_IPA_IP_TYPE_V6_V01) {
			IPAWANERR("Invalid IP type %d\n",
					req->firewall_rules_list[i].ip_type);
			return -EINVAL;
		}
	}

	req_desc.max_msg_len =
		QMI_IPA_INSTALL_UL_FIREWALL_RULES_REQ_MAX_MSG_LEN_V01;