core: parse the right thing on QCDM version info response

This commit is contained in:
Dan Williams
2010-03-21 17:48:19 -07:00
parent 96f5400cc9
commit 6598d2ef7f

View File

@@ -473,7 +473,7 @@ qcdm_verinfo_cb (MMQcdmSerialPort *port,
}
/* 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) {
g_warning ("(%s) failed to parse QCDM version info command result: (%d) %s.",
g_udev_device_get_name (priv->port),