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

Commit 16d94001 authored by Jitendra Sharma's avatar Jitendra Sharma
Browse files

soc: qcom: Update QMI response max buffer length



Increase the size of response buffer to MAX_LENGTH, otherwise,
decoding of QMI response could fail, if received response is of
large size.

Change-Id: I49bbfbca36707fde1293e72d38cf597e3c963269
Signed-off-by: default avatarJitendra Sharma <shajit@codeaurora.org>
parent da0130a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ static int init_service_locator(void)
	service_locator.connected = false;

	rc = qmi_handle_init(&service_locator.clnt_handle,
			QMI_SERVREG_LOC_GET_DOMAIN_LIST_REQ_MSG_V01_MAX_MSG_LEN,
		QMI_SERVREG_LOC_GET_DOMAIN_LIST_RESP_MSG_V01_MAX_MSG_LEN,
			&server_ops, NULL);
	if (rc < 0) {
		pr_err("Service locator QMI handle init failed rc:%d\n", rc);