summaryrefslogtreecommitdiff
path: root/drivers/huaweimodem
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-10-27 01:34:02 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-10-27 01:34:02 +0200
commit6ccbeadb124db664bfcfc92bf77b7d351772488d (patch)
treea220bd79537830557ebff270c2c03b1634e67101 /drivers/huaweimodem
parent9eb88496ac600676a4bdd0399687cccebed36b6b (diff)
huaweimodem: Fix some GPRS context debug statements
Diffstat (limited to 'drivers/huaweimodem')
-rw-r--r--drivers/huaweimodem/gprs-context.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/huaweimodem/gprs-context.c b/drivers/huaweimodem/gprs-context.c
index 4ca46b13..48e21ab6 100644
--- a/drivers/huaweimodem/gprs-context.c
+++ b/drivers/huaweimodem/gprs-context.c
@@ -149,7 +149,7 @@ static void dhcp_query_cb(gboolean ok, GAtResult *result, gpointer user_data)
const char *devnode;
GIOChannel *channel;
- DBG("");
+ DBG("ok %d", ok);
if (!ok) {
gcd->dhcp_source = g_timeout_add_seconds(1, dhcp_poll, gc);
@@ -213,7 +213,7 @@ static void check_dhcp(struct ofono_gprs_context *gc)
}
static void at_ndisdup_down_cb(gboolean ok, GAtResult *result,
- gpointer user_data)
+ gpointer user_data)
{
struct cb_data *cbd = user_data;
ofono_gprs_context_cb_t cb = cbd->cb;
@@ -221,7 +221,7 @@ static void at_ndisdup_down_cb(gboolean ok, GAtResult *result,
struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc);
struct ofono_error error;
- DBG("");
+ DBG("ok %d", ok);
if (ok) {
gcd->down_cb = cb;
@@ -238,7 +238,7 @@ static void at_ndisdup_down_cb(gboolean ok, GAtResult *result,
}
static void at_ndisdup_up_cb(gboolean ok, GAtResult *result,
- gpointer user_data)
+ gpointer user_data)
{
struct cb_data *cbd = user_data;
ofono_gprs_context_up_cb_t cb = cbd->cb;
@@ -246,7 +246,7 @@ static void at_ndisdup_up_cb(gboolean ok, GAtResult *result,
struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc);
struct ofono_error error;
- DBG("");
+ DBG("ok %d", ok);
if (ok) {
gcd->up_cb = cb;
@@ -273,7 +273,7 @@ static void at_cgdcont_cb(gboolean ok, GAtResult *result, gpointer user_data)
struct cb_data *ncbd;
char buf[64];
- DBG("");
+ DBG("ok %d", ok);
if (!ok) {
struct ofono_error error;
@@ -309,7 +309,7 @@ static void huawei_gprs_activate_primary(struct ofono_gprs_context *gc,
char buf[64];
int len;
- DBG("");
+ DBG("cid %u", ctx->cid);
if (!cbd)
goto error;