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

Skip to content
Commit a5577e5c authored by Chris Lew's avatar Chris Lew Committed by Gerrit - the friendly Code Review server
Browse files

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



Add enum for the max qmi msg length in the SSCTL interface. Use this
size in qmi handle init so messages are not truncated. Zero initialize
the response buffer to prevent extra data after qmi decodes the error
response string.

Also, the error-response can contain multiple string prefixes. Hence,
prevent comparing with "ssr:return:" format.

Change-Id: Ieb4c67050448a9ae7789155b7fcbafd727adef59
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 0985aa84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment