aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmi-device.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-04-23 18:38:20 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-03 16:08:48 +0200
commit82b79618934398bb65af4e7afb9056d744e48d1c (patch)
treeb49e53be110d55acb566e2a165cfd44cad2fc74c /src/qmi-device.c
parentb1c7ec249bf5ca2dbaf2eddb4c30be150ab055d3 (diff)
downloadexternal_libqmi-82b79618934398bb65af4e7afb9056d744e48d1c.zip
external_libqmi-82b79618934398bb65af4e7afb9056d744e48d1c.tar.gz
external_libqmi-82b79618934398bb65af4e7afb9056d744e48d1c.tar.bz2
message: new helpers to check whether a given message is a response or an indication
Diffstat (limited to 'src/qmi-device.c')
-rw-r--r--src/qmi-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmi-device.c b/src/qmi-device.c
index a847a16..345d2e7 100644
--- a/src/qmi-device.c
+++ b/src/qmi-device.c
@@ -415,7 +415,7 @@ parse_response (QmiDevice *self)
else {
/* Received message is a response in a transaction; handle QMI protocol
* errors */
- if (!qmi_message_get_result (message, &error)) {
+ if (!qmi_message_get_response_result (message, &error)) {
transaction_complete_and_free (tr, NULL, error);
g_error_free (error);
} else {