diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-10-27 01:27:17 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-27 01:27:17 +0200 |
commit | 52f3c3462be269786e7be5c04c1f2bec81d0cd41 (patch) | |
tree | e9625cc8a41abf66c62ab2bff20f16ec0d74e9ab /drivers/huaweimodem | |
parent | 21a7e11e7f49e55c8efc5b8eaaf31b41c90b6ee5 (diff) | |
download | ofono-52f3c3462be269786e7be5c04c1f2bec81d0cd41.tar.bz2 |
huaweimodem: Add some more GPRS context debug statements
Diffstat (limited to 'drivers/huaweimodem')
-rw-r--r-- | drivers/huaweimodem/gprs-context.c | 4 |
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); |