core: parse the right thing on QCDM version info response
This commit is contained in:
@@ -473,7 +473,7 @@ qcdm_verinfo_cb (MMQcdmSerialPort *port,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Parse the response */
|
/* Parse the response */
|
||||||
result = qcdm_cmd_version_info_result ((const char *) response, response->len, &dm_error);
|
result = qcdm_cmd_version_info_result ((const char *) response->data, response->len, &dm_error);
|
||||||
if (!result) {
|
if (!result) {
|
||||||
g_warning ("(%s) failed to parse QCDM version info command result: (%d) %s.",
|
g_warning ("(%s) failed to parse QCDM version info command result: (%d) %s.",
|
||||||
g_udev_device_get_name (priv->port),
|
g_udev_device_get_name (priv->port),
|
||||||
|
Reference in New Issue
Block a user