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

Commit b7c0d6b3 authored by Prateek Sood's avatar Prateek Sood
Browse files

soc: qcom: sysmon-qmi: Fix max qmi msg length for SSCTL



Length of buffer for failure reason response message is
101. So the max length of buffer for SSCTL message should
101. Use this size in qmi handle init so messages are
not truncated.

Change-Id: I54988b47085dca3ff20da808750b3201b97f3d92
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
parent 3081488d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
#define QMI_SSCTL_SUBSYS_EVENT_REQ_LENGTH	40
#define QMI_SSCTL_RESP_MSG_LENGTH		7
#define QMI_SSCTL_EMPTY_MSG_LENGTH		0
#define QMI_SSCTL_MAX_MSG_LENGTH		90
#define QMI_SSCTL_MAX_MSG_LENGTH		101

#define SSCTL_SERVICE_ID			0x2B
#define SSCTL_VER_2				2