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

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

Merge "msm: ipa: Fix to read all QMI responses from modem"

parents 85125f66 f0ad5675
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -688,8 +688,11 @@ static void ipa_q6_clnt_recv_msg(struct work_struct *work)
{
	int rc;

	do {
		IPAWANDBG("Notified about a Receive Event");
		rc = qmi_recv_msg(ipa_q6_clnt);
	if (rc < 0)
	} while (rc == 0);
	if (rc != -ENOMSG)
		IPAWANERR("Error receiving message\n");
}

+5 −2
Original line number Diff line number Diff line
@@ -759,8 +759,11 @@ static void ipa3_q6_clnt_recv_msg(struct work_struct *work)
{
	int rc;

	do {
		IPAWANDBG("Notified about a Receive Event");
		rc = qmi_recv_msg(ipa_q6_clnt);
	if (rc < 0)
	} while (rc == 0);
	if (rc != -ENOMSG)
		IPAWANERR("Error receiving message\n");
}