soc: qcom: hab: backend should listen without timeout
In the handshake stage of openning hab virtual channel, hab backend should listen without timeout so that it just keeps waiting for the coming connection from hab frontend. Change-Id: I399fe050c5460bf3b56f862141320b2e2afe55e1 Signed-off-by: Yong Ding <yongding@codeaurora.org>
This commit is contained in:
parent
7776191562
commit
29a654b022
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ struct virtual_channel *backend_listen(struct uhab_context *ctx,
|
||||||
/* Wait for Ack sequence */
|
/* Wait for Ack sequence */
|
||||||
hab_open_request_init(&request, HAB_PAYLOAD_TYPE_ACK,
|
hab_open_request_init(&request, HAB_PAYLOAD_TYPE_ACK,
|
||||||
pchan, 0, sub_id, open_id);
|
pchan, 0, sub_id, open_id);
|
||||||
ret = hab_open_listen(ctx, dev, &request, &recv_request, HZ);
|
ret = hab_open_listen(ctx, dev, &request, &recv_request, 0);
|
||||||
|
|
||||||
if (ret != -EAGAIN)
|
if (ret != -EAGAIN)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue