aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-modem-zte.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-02-01 22:52:34 -0600
committerDan Williams <dcbw@redhat.com>2011-02-01 22:52:34 -0600
commit8f223f45f9e0c81fc9267b830c7c05b9aa731f2a (patch)
treea52748e90e027a12ef542d3725decf0069a093b6 /plugins/mm-modem-zte.c
parentd1f4b07e0effa7f203ea56bd8120839a9d39b992 (diff)
zte: fix handling of Icera simple connect process
Yay for GInterface.
Diffstat (limited to 'plugins/mm-modem-zte.c')
-rw-r--r--plugins/mm-modem-zte.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/mm-modem-zte.c b/plugins/mm-modem-zte.c
index c447c58f..e5446c2f 100644
--- a/plugins/mm-modem-zte.c
+++ b/plugins/mm-modem-zte.c
@@ -547,12 +547,13 @@ simple_connect (MMModemSimple *simple,
MMModemFn callback,
gpointer user_data)
{
- MMModemZtePrivate *priv = MM_MODEM_ZTE_GET_PRIVATE (simple);
+ MMModemZte *self = MM_MODEM_ZTE (simple);
+ MMModemZtePrivate *priv = MM_MODEM_ZTE_GET_PRIVATE (self);
MMCallbackInfo *info = (MMCallbackInfo *) user_data;
MMModemSimple *parent_iface;
if (priv->is_icera)
- mm_modem_icera_simple_connect (MM_MODEM_ICERA (simple), properties);
+ mm_modem_icera_simple_connect (MM_MODEM_ICERA (self), properties);
parent_iface = g_type_interface_peek_parent (MM_MODEM_SIMPLE_GET_INTERFACE (simple));
parent_iface->connect (MM_MODEM_SIMPLE (simple), properties, callback, info);