mirror of git://git.sysmocom.de/ofono
ifxmodem: Add some more GPRS context debug statements
This commit is contained in:
parent
10ee140c24
commit
21a7e11e7f
|
@ -394,6 +394,8 @@ static void cgev_notify(GAtResult *result, gpointer user_data)
|
||||||
if (!g_at_result_iter_next_number(&iter, &cid))
|
if (!g_at_result_iter_next_number(&iter, &cid))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
DBG("cid %d", cid);
|
||||||
|
|
||||||
if ((unsigned int) cid != gcd->active_context)
|
if ((unsigned int) cid != gcd->active_context)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -419,6 +421,8 @@ static int ifx_gprs_context_probe(struct ofono_gprs_context *gc,
|
||||||
struct gprs_context_data *gcd;
|
struct gprs_context_data *gcd;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
||||||
|
DBG("");
|
||||||
|
|
||||||
if (stat(TUN_SYSFS_DIR, &st) < 0) {
|
if (stat(TUN_SYSFS_DIR, &st) < 0) {
|
||||||
ofono_error("Missing support for TUN/TAP devices");
|
ofono_error("Missing support for TUN/TAP devices");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
Loading…
Reference in New Issue