QMI_CMD_DONE is not working properly with 'sync' command.
We must use QMI_CMD_REQUEST.
Signed-off-by: Nickolay Ledovskikh <nledovskikh@gmail.com>
cmd_sync_prepare(struct qmi_dev *qmi, struct qmi_request *req, struct qmi_msg *msg, char *arg)
{
qmi_set_ctl_sync_request(msg);
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_REQUEST;
}
#define cmd_get_client_id_cb no_cb
}
#define cmd_get_client_id_cb no_cb