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

Commit 97e051a2 authored by Amir Samuelov's avatar Amir Samuelov Committed by Gerrit - the friendly Code Review server
Browse files

spcom: spcom_get_next_request_size() unlock while waiting for rx data



spcom server app might open the channel before the SP client app.
The asynchronous CONNECTED callback might be called while the server
is waiting for data.
Avoid locking the channel while waiting for data to avoid dead lock
while handling the CONNECTED callabck.

Change-Id: I7c576f240b60720a6f1461b3e48f4422c110e7c4
Signed-off-by: default avatarAmir Samuelov <amirs@codeaurora.org>
parent e08dfa6b
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