projects
/
project
/
uqmi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc7be1
)
uqmi: Change returned value to QMI_CMD_REQUEST for 'sync' command.
author
Nickolay Ledovskikh
<nledovskikh@gmail.com>
Fri, 16 Dec 2016 11:35:15 +0000
(14:35 +0300)
committer
John Crispin
<john@phrozen.org>
Mon, 19 Dec 2016 08:31:30 +0000
(09:31 +0100)
QMI_CMD_DONE is not working properly with 'sync' command.
We must use QMI_CMD_REQUEST.
Signed-off-by: Nickolay Ledovskikh <nledovskikh@gmail.com>
commands.c
patch
|
blob
|
history
diff --git
a/commands.c
b/commands.c
index ff9d3acefdab05d9d0357967d7319e175fe9b005..f9545a9c58438df5f58f21883de280eea084836f 100644
(file)
--- 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