From: Marcel Holtmann Date: Sun, 1 Nov 2009 14:42:18 +0000 (+0900) Subject: Use ofono_info() for AT command debugging X-Git-Tag: 0.9~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c24593c0cc017e5f40d0499c76034db289f8a6d;p=platform%2Fupstream%2Fofono.git Use ofono_info() for AT command debugging --- diff --git a/plugins/calypso.c b/plugins/calypso.c index 6552eb6..eba55dd 100644 --- a/plugins/calypso.c +++ b/plugins/calypso.c @@ -88,17 +88,17 @@ static void calypso_debug(const char *str, void *data) { guint dlc = GPOINTER_TO_UINT(data); - DBG("DLC%u: %s", dlc, str); + ofono_info("DLC%u: %s", dlc, str); } static void calypso_mux_debug(const char *str, void *data) { - DBG("MUX: %s", str); + ofono_info("MUX: %s", str); } static void calypso_setup_debug(const char *str, void *data) { - DBG("Setup: %s", str); + ofono_info("Setup: %s", str); } static int calypso_probe(struct ofono_modem *modem) diff --git a/plugins/g1.c b/plugins/g1.c index aeb38b1..e47f5c6 100644 --- a/plugins/g1.c +++ b/plugins/g1.c @@ -52,7 +52,7 @@ static void g1_debug(const char *str, void *data) { - DBG("%s", str); + ofono_info("%s", str); } /* Detect hardware, and initialize if found */ diff --git a/plugins/hfp.c b/plugins/hfp.c index 5e94a05..fc171ba 100644 --- a/plugins/hfp.c +++ b/plugins/hfp.c @@ -59,7 +59,7 @@ static int hfp_disable(struct ofono_modem *modem); static void hfp_debug(const char *str, void *user_data) { - ofono_debug("%s", str); + ofono_info("%s", str); } static void cind_status_cb(gboolean ok, GAtResult *result,