diff options
Diffstat (limited to 'src/libqmi-glib/qmi-device.c')
-rw-r--r-- | src/libqmi-glib/qmi-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libqmi-glib/qmi-device.c b/src/libqmi-glib/qmi-device.c index 8b1f387..3e1fcba 100644 --- a/src/libqmi-glib/qmi-device.c +++ b/src/libqmi-glib/qmi-device.c @@ -2298,7 +2298,7 @@ qmi_device_command_abortable (QmiDevice *self, tr = transaction_new (self, message, message_context, cancellable, callback, user_data); /* Device must be open */ - if (!qmi_endpoint_is_open (self->priv->endpoint)) { + if (!qmi_device_is_open (self)) { error = g_error_new (QMI_CORE_ERROR, QMI_CORE_ERROR_WRONG_STATE, "Device must be open to send commands"); |