summaryrefslogtreecommitdiffstats
path: root/drivers/mbmmodem
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-27 14:55:13 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-27 14:55:13 +0200
commit9c476f1f0a818c6990e75d9b83c53c539396f710 (patch)
tree2ac0d0d87a420e37484f7fbae7f7839d86c456b2 /drivers/mbmmodem
parent65f1ad4ce28e3237edd5398a6f5be0e3242f3ea8 (diff)
downloadofono-9c476f1f0a818c6990e75d9b83c53c539396f710.tar.bz2
mbmmodem: Print IP details after GPRS context setup
Diffstat (limited to 'drivers/mbmmodem')
-rw-r--r--drivers/mbmmodem/gprs-context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mbmmodem/gprs-context.c b/drivers/mbmmodem/gprs-context.c
index 35a58983..553b7fd1 100644
--- a/drivers/mbmmodem/gprs-context.c
+++ b/drivers/mbmmodem/gprs-context.c
@@ -138,6 +138,9 @@ out:
modem = ofono_gprs_context_get_modem(gc);
interface = ofono_modem_get_string(modem, "NetworkInterface");
+ ofono_info("IP: %s Gateway: %s", ip, gateway);
+ ofono_info("DNS: %s, %s", dns[0], dns[1]);
+
CALLBACK_WITH_SUCCESS(gcd->up_cb, interface, success, ip,
STATIC_IP_NETMASK, gateway,
success ? dns : NULL, gcd->cb_data);