From 9faf249e8eba5abb625806f57c261abf92cb56d4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 25 Jun 2012 00:02:17 -0700 Subject: swmodem: Add extra informational AT+CGCONTRDP command --- drivers/swmodem/gprs-context.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/swmodem') diff --git a/drivers/swmodem/gprs-context.c b/drivers/swmodem/gprs-context.c index 16695973..1506ed14 100644 --- a/drivers/swmodem/gprs-context.c +++ b/drivers/swmodem/gprs-context.c @@ -100,6 +100,9 @@ static void at_scact_up_cb(gboolean ok, GAtResult *result, snprintf(buf, sizeof(buf), "AT!SCPADDR=%u", gcd->active_context); g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL); + snprintf(buf, sizeof(buf), "AT+CGCONTRDP=%u", gcd->active_context); + g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL); + modem = ofono_gprs_context_get_modem(gc); interface = ofono_modem_get_string(modem, "NetworkInterface"); -- cgit v1.2.3