summaryrefslogtreecommitdiffstats
path: root/drivers/swmodem
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-06-25 00:02:17 -0700
committerMarcel Holtmann <marcel@holtmann.org>2012-06-25 00:02:17 -0700
commit9faf249e8eba5abb625806f57c261abf92cb56d4 (patch)
treeb3e6b7f44f2cfbf95e9c7b484f12f02373feaa1f /drivers/swmodem
parent674cb0d167120fd169931996142e76885fa583ee (diff)
downloadofono-9faf249e8eba5abb625806f57c261abf92cb56d4.tar.bz2
swmodem: Add extra informational AT+CGCONTRDP command
Diffstat (limited to 'drivers/swmodem')
-rw-r--r--drivers/swmodem/gprs-context.c3
1 files changed, 3 insertions, 0 deletions
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");