Use ofono_info() for AT command debugging
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 1 Nov 2009 14:42:18 +0000 (23:42 +0900)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 1 Nov 2009 14:42:18 +0000 (23:42 +0900)
plugins/calypso.c
plugins/g1.c
plugins/hfp.c

index 6552eb6..eba55dd 100644 (file)
@@ -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)
index aeb38b1..e47f5c6 100644 (file)
@@ -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 */
index 5e94a05..fc171ba 100644 (file)
@@ -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,