mirror of git://git.sysmocom.de/ofono
huaweimodem: Add some more GPRS context debug statements
This commit is contained in:
parent
21a7e11e7f
commit
52f3c3462b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue