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

Commit 60871bde authored by Vidyakumar Athota's avatar Vidyakumar Athota
Browse files

ipc: initialize glink link state



There is a chance that glink channel memory pointer is used
after free if WDSP_REG_PKT and WDSP_CMD_PKT are received at
the same time from different threads. Fix this issue by
initializing glink link state to GLINK_LINK_STATE_DOWN.
Also limit error logs to avoid watchdog timeout issues.

Change-Id: I07c4e6f12eb057405eb59f1c0d04b890fa964ce8
Signed-off-by: default avatarVidyakumar Athota <vathota@codeaurora.org>
parent 8f7ccc2e
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