modem: fix activation after 1379af271138202d406de585cbdcd491ac11ed01

Got the return semantics of dbus_g_proxy_end_call() wrong...
This commit is contained in:
Dan Williams
2009-12-23 01:27:47 -08:00
parent 154a41dec9
commit ac38d65d6d
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ stage1_enable_done (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_da
NMDevice *device = NM_DEVICE (user_data);
GError *error = NULL;
if (!dbus_g_proxy_end_call (proxy, call_id, &error, G_TYPE_INVALID))
if (dbus_g_proxy_end_call (proxy, call_id, &error, G_TYPE_INVALID))
do_connect (NM_MODEM (device));
else {
nm_warning ("CDMA modem enable failed: (%d) %s",

View File

@@ -274,7 +274,7 @@ stage1_enable_done (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_da
NMDevice *device = NM_DEVICE (user_data);
GError *error = NULL;
if (!dbus_g_proxy_end_call (proxy, call_id, &error, G_TYPE_INVALID))
if (dbus_g_proxy_end_call (proxy, call_id, &error, G_TYPE_INVALID))
do_connect (NM_MODEM (device));
else {
nm_warning ("GSM modem enable failed: (%d) %s",