summaryrefslogtreecommitdiffstats
path: root/drivers/huaweimodem
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-27 01:27:17 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-27 01:27:17 +0200
commit52f3c3462be269786e7be5c04c1f2bec81d0cd41 (patch)
treee9625cc8a41abf66c62ab2bff20f16ec0d74e9ab /drivers/huaweimodem
parent21a7e11e7f49e55c8efc5b8eaaf31b41c90b6ee5 (diff)
downloadofono-52f3c3462be269786e7be5c04c1f2bec81d0cd41.tar.bz2
huaweimodem: Add some more GPRS context debug statements
Diffstat (limited to 'drivers/huaweimodem')
-rw-r--r--drivers/huaweimodem/gprs-context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/huaweimodem/gprs-context.c b/drivers/huaweimodem/gprs-context.c
index 5d59db9a..4ca46b13 100644
--- a/drivers/huaweimodem/gprs-context.c
+++ b/drivers/huaweimodem/gprs-context.c
@@ -368,6 +368,8 @@ static int huawei_gprs_context_probe(struct ofono_gprs_context *gc,
struct gprs_context_data *gcd;
struct stat st;
+ DBG("");
+
if (stat(TUN_SYSFS_DIR, &st) < 0) {
ofono_error("Missing support for TUN/TAP devices");
return -ENODEV;
@@ -388,6 +390,8 @@ static void huawei_gprs_context_remove(struct ofono_gprs_context *gc)
{
struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc);
+ DBG("");
+
ofono_gprs_context_set_data(gc, NULL);
g_at_chat_unref(gcd->chat);