diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-08-20 21:45:45 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-08-20 21:45:45 +0200 |
commit | 6df7c1a1c681a3c1a27a414c19f77c5312d020f0 (patch) | |
tree | e821ba9e5f881f483b05486e47073be5d2a77f34 /drivers | |
parent | 0488550b552ca70f06d48c0efc704654e73394b9 (diff) | |
download | ofono-6df7c1a1c681a3c1a27a414c19f77c5312d020f0.tar.bz2 |
atmodem: Add a few more debug statements for CBS support
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/atmodem/cbs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/atmodem/cbs.c b/drivers/atmodem/cbs.c index c5343504..2ae75fbd 100644 --- a/drivers/atmodem/cbs.c +++ b/drivers/atmodem/cbs.c @@ -58,6 +58,8 @@ static void at_cbm_notify(GAtResult *result, gpointer user_data) unsigned char pdu[88]; long hexpdulen; + DBG(""); + g_at_result_iter_init(&iter, result); if (!g_at_result_iter_next(&iter, "+CBM:")) @@ -112,6 +114,8 @@ static void at_cbs_set_topics(struct ofono_cbs *cbs, const char *topics, char *buf; unsigned int id; + DBG(""); + if (!cbd) goto error; @@ -149,6 +153,8 @@ static void at_cbs_clear_topics(struct ofono_cbs *cbs, struct cb_data *cbd = cb_data_new(cb, user_data); char buf[256]; + DBG(""); + if (!cbd) goto error; |