summaryrefslogtreecommitdiffstats
path: root/drivers/hfpmodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-08 12:09:01 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-08 12:09:01 -0600
commit7f9a9b0cdc82d5bb03230a343d5b1504f210c447 (patch)
tree9f6e294750857e78092b6cc805cdb4218caa8acd /drivers/hfpmodem
parent87ca1b0c8f4c5b441eb3209b2b0c867870596882 (diff)
downloadofono-7f9a9b0cdc82d5bb03230a343d5b1504f210c447.tar.bz2
Fix: Don't use ofono_debug directly in plugins
Diffstat (limited to 'drivers/hfpmodem')
-rw-r--r--drivers/hfpmodem/network-registration.c2
-rw-r--r--drivers/hfpmodem/voicecall.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/hfpmodem/network-registration.c b/drivers/hfpmodem/network-registration.c
index 5ccde59b..8478966a 100644
--- a/drivers/hfpmodem/network-registration.c
+++ b/drivers/hfpmodem/network-registration.c
@@ -176,7 +176,7 @@ static void signal_strength_cb(gboolean ok, GAtResult *result,
index++;
}
- ofono_debug("signal_strength_cb: %d", strength);
+ DBG("signal_strength_cb: %d", strength);
cb(&error, strength * 20, cbd->data);
}
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c
index 71866d84..28a851c3 100644
--- a/drivers/hfpmodem/voicecall.c
+++ b/drivers/hfpmodem/voicecall.c
@@ -666,7 +666,7 @@ static void ccwa_notify(GAtResult *result, gpointer user_data)
else
validity = 2;
- ofono_debug("ccwa_notify: %s %d %d", num, num_type, validity);
+ DBG("ccwa_notify: %s %d %d", num, num_type, validity);
call = create_call(vc, 0, 1, 5, num, num_type, validity);
@@ -795,7 +795,7 @@ static void clip_notify(GAtResult *result, gpointer user_data)
g_at_result_iter_skip_next(&iter);
g_at_result_iter_skip_next(&iter);
- ofono_debug("clip_notify: %s %d %d", num, type, validity);
+ DBG("clip_notify: %s %d %d", num, type, validity);
call = l->data;
@@ -1120,7 +1120,7 @@ static void hfp_voicecall_initialized(gboolean ok, GAtResult *result,
struct ofono_voicecall *vc = user_data;
struct voicecall_data *vd = ofono_voicecall_get_data(vc);
- ofono_debug("hfp_voicecall_init: registering to notifications");
+ DBG("hfp_voicecall_init: registering to notifications");
g_at_chat_register(vd->chat, "RING", ring_notify, FALSE, vc, NULL);
g_at_chat_register(vd->chat, "+CLIP:", clip_notify, FALSE, vc, NULL);