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

Commit 8c8d1176 authored by Mohammed's avatar Mohammed
Browse files

msm: ipa4: Fix to pass correct arguments to qmi_txn_wait function



Because of wrong value passing to qmi_txn_wait function
leads to more timeout value. Added changes to passing the
correct timeout value after converting from msec to jiffies.

Change-Id: I39a2eec633c54e4433bfcd5d0b7f0b8bdfd069cc
Acked-by: default avatarPraveen Kurapati <pkurapat@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 88d29d2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -399,7 +399,7 @@ static int ipa3_qmi_send_req_wait(struct qmi_handle *client_handle,
		qmi_txn_cancel(&txn);
		return ret;
	}
	ret = qmi_txn_wait(&txn, timeout_ms);
	ret = qmi_txn_wait(&txn, msecs_to_jiffies(timeout_ms));

	return ret;
}