ifx: Fix crash with XGENDATA result callback
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 1 Oct 2010 10:31:19 +0000 (12:31 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 1 Oct 2010 10:31:19 +0000 (12:31 +0200)
plugins/ifx.c

index 58e6db1..0c4117a 100644 (file)
@@ -330,7 +330,7 @@ static void cfun_enable(gboolean ok, GAtResult *result, gpointer user_data)
        }
 
        g_at_chat_send(data->dlcs[AUX_DLC], "AT+XGENDATA", NULL,
-                                               xgendata_query, NULL, NULL);
+                                       xgendata_query, modem, NULL);
 }
 
 static gboolean dlc_ready_check(gpointer user_data)