commit | 97e051a2ab958b02db68e71daa8a8c6622f7c2f8 | [log] [tgz] |
---|---|---|
author | Amir Samuelov <amirs@codeaurora.org> | Sun Sep 24 13:40:19 2017 +0300 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Sep 26 23:31:37 2017 -0700 |
tree | 7d02eb71bfdb7f9651db7db90bb1c0aaf1c5f846 | |
parent | e08dfa6b350371992d0f8cddc92a67570ce9b17d [diff] |
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: Amir Samuelov <amirs@codeaurora.org>