mirror of git://git.sysmocom.de/ofono
ifx: Use a proper prefix for XGENDATA
This commit is contained in:
parent
a51004d4f7
commit
1b5b46a23e
|
@ -80,6 +80,7 @@ static const char *dlc_nodes[NUM_DLC] = { "/dev/ttyGSM1", "/dev/ttyGSM2",
|
||||||
|
|
||||||
static const char *none_prefix[] = { NULL };
|
static const char *none_prefix[] = { NULL };
|
||||||
static const char *xdrv_prefix[] = { "+XDRV:", NULL };
|
static const char *xdrv_prefix[] = { "+XDRV:", NULL };
|
||||||
|
static const char *xgendata_prefix[] = { "+XGENDATA:", NULL };
|
||||||
|
|
||||||
struct ifx_data {
|
struct ifx_data {
|
||||||
GIOChannel *device;
|
GIOChannel *device;
|
||||||
|
@ -357,7 +358,7 @@ static void cfun_enable(gboolean ok, GAtResult *result, gpointer user_data)
|
||||||
return;
|
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);
|
xgendata_query, modem, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue