diff options
author | Nickolay Ledovskikh <nledovskikh@gmail.com> | 2016-12-16 14:35:15 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-12-19 09:31:30 +0100 |
commit | 8ceeab690d8c6f1e3afbd4bcaee7bc2ba3fbe165 (patch) | |
tree | 67750d94138454832c8c72d3c511e3eb3c5d5a61 | |
parent | 1dc7be1a2c5fa6c56b6293ae4540bdc16fbe2cb2 (diff) |
uqmi: Change returned value to QMI_CMD_REQUEST for 'sync' command.
QMI_CMD_DONE is not working properly with 'sync' command.
We must use QMI_CMD_REQUEST.
Signed-off-by: Nickolay Ledovskikh <nledovskikh@gmail.com>
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |