From 82b79618934398bb65af4e7afb9056d744e48d1c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 23 Apr 2012 18:38:20 +0200 Subject: message: new helpers to check whether a given message is a response or an indication --- src/qmi-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qmi-device.c') 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 { -- cgit v1.1