QMI_CMD_DONE is not working properly with 'sync' command.
We must use QMI_CMD_REQUEST.

Signed-off-by: Nickolay Ledovskikh <nledovsk...@gmail.com>
---
 commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands.c b/commands.c
index ff9d3ac..f9545a9 100644
--- a/commands.c
+++ b/commands.c
@@ -69,7 +69,7 @@ static enum qmi_cmd_result
 cmd_sync_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg 
*msg, char *arg)
 {
        qmi_set_ctl_sync_request(msg);
-       return QMI_CMD_DONE;
+       return QMI_CMD_REQUEST;
 }
 
 #define cmd_get_client_id_cb no_cb
-- 
2.7.3


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to