Enhance trace level
[framework/telephony/tel-plugin-mfld-blackbay.git] / src / desc_mfld_blackbay.c
index 0bf3156..da27d4a 100644 (file)
@@ -101,14 +101,14 @@ static TReturn prepare_and_send_at_request(CoreObject *co, TcoreHal *hal,
        /* Create Pending Request */
        pending = tcore_pending_new(co, 0);
        if (pending == NULL) {
-               dbg("Memory failure, pending is NULL");
+               err("Memory failure, pending is NULL");
                return TCORE_RETURN_ENOMEM;
        }
 
        /* Create AT-Command Request */
        req = tcore_at_request_new(at_cmd, at_cmd_prefix, at_cmd_type);
        if (req == NULL) {
-               dbg("Memory failure, request is NULL");
+               err("Memory failure, request is NULL");
                tcore_pending_free(pending);
                return TCORE_RETURN_ENOMEM;
        }
@@ -683,7 +683,7 @@ static TReturn hal_setup_netif(CoreObject *co, TcoreHalSetupNetifCallback func,
        }
 
        if ((enable == FALSE) && (cdata->rawip_enabled == FALSE)) {
-               dbg("PDP context %d already disabled", cid);
+               err("PDP context %d already disabled", cid);
                return TCORE_RETURN_SUCCESS;
        }