summaryrefslogtreecommitdiffstats
path: root/plugins/ifx.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-02-02 05:53:53 -0600
committerDenis Kenzior <denkenz@gmail.com>2012-02-02 05:53:53 -0600
commit1b5b46a23e03f817e5322ab73deef0208d7fb242 (patch)
tree16b063d0b33ab6a7c9f1ffa9288ac3decef298b5 /plugins/ifx.c
parenta51004d4f7b2f75d5b975298222be84db7c21674 (diff)
downloadofono-1b5b46a23e03f817e5322ab73deef0208d7fb242.tar.bz2
ifx: Use a proper prefix for XGENDATA
Diffstat (limited to 'plugins/ifx.c')
-rw-r--r--plugins/ifx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ifx.c b/plugins/ifx.c
index e9ef4bc7..c20a4ae7 100644
--- a/plugins/ifx.c
+++ b/plugins/ifx.c
@@ -80,6 +80,7 @@ static const char *dlc_nodes[NUM_DLC] = { "/dev/ttyGSM1", "/dev/ttyGSM2",
static const char *none_prefix[] = { NULL };
static const char *xdrv_prefix[] = { "+XDRV:", NULL };
+static const char *xgendata_prefix[] = { "+XGENDATA:", NULL };
struct ifx_data {
GIOChannel *device;
@@ -357,7 +358,7 @@ static void cfun_enable(gboolean ok, GAtResult *result, gpointer user_data)
return;
}
- g_at_chat_send(data->dlcs[AUX_DLC], "AT+XGENDATA", NULL,
+ g_at_chat_send(data->dlcs[AUX_DLC], "AT+XGENDATA", xgendata_prefix,
xgendata_query, modem, NULL);
}