diff options
author | Nicolas Bertrand <nicolas.bertrand@linux.intel.com> | 2013-03-15 12:07:53 +0100 |
---|---|---|
committer | Nicolas Bertrand <nicolas.bertrand@linux.intel.com> | 2013-03-26 17:33:41 +0100 |
commit | 32e6f583e5e7f7679eef116d13a4d7a97ee03613 (patch) | |
tree | 0353a99ea1f75107ee1d5106a2b44da3e6259d2e | |
parent | a64e002f59892d95dca213e7966b3587dded2386 (diff) | |
download | tel-plugin-mfld-blackbay-tizen_2.1.tar.gz tel-plugin-mfld-blackbay-tizen_2.1.tar.bz2 tel-plugin-mfld-blackbay-tizen_2.1.zip |
Enhance trace levelsubmit/tizen_2.2/20130718.091244submit/tizen_2.2/20130717.082451submit/tizen_2.2/20130613.152302submit/tizen_2.2/20130604.080345submit/tizen_2.1/20130328.1755512.2_release2.2.1_releasetizen_2.2tizen_2.1devel-toolchain-upgrade
- Fix trace level
- Update version number
Change-Id: I6c6e1ecaec3147cf6a32d98c5e71a5801a7a35b1
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | packaging/tel-plugin-mfld-blackbay.spec | 2 | ||||
-rw-r--r-- | src/desc_mfld_blackbay.c | 6 | ||||
-rw-r--r-- | src/util_mfld_blackbay.c | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fbd0f5d..918b106 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/ ${KERNEL_INCLUDE}) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align") ADD_DEFINITIONS("-D__EXPORTED_HEADERS__") -ADD_DEFINITIONS("-DFEATURE_DLOG_DEBUG") +ADD_DEFINITIONS("-DFEATURE_TLOG_DEBUG") ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"MFLD-BLACKBAY\"") MESSAGE(${CMAKE_C_FLAGS}) diff --git a/packaging/tel-plugin-mfld-blackbay.spec b/packaging/tel-plugin-mfld-blackbay.spec index 67b2dbb..361a4d7 100644 --- a/packaging/tel-plugin-mfld-blackbay.spec +++ b/packaging/tel-plugin-mfld-blackbay.spec @@ -1,6 +1,6 @@ Name: tel-plugin-mfld-blackbay Summary: Medfield Blackbay plateform telephony plugin -Version: 0.0.2 +Version: 0.0.3 Release: 1 Group: Development/Libraries License: Apache diff --git a/src/desc_mfld_blackbay.c b/src/desc_mfld_blackbay.c index 0bf3156..da27d4a 100644 --- a/src/desc_mfld_blackbay.c +++ b/src/desc_mfld_blackbay.c @@ -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; } diff --git a/src/util_mfld_blackbay.c b/src/util_mfld_blackbay.c index b05273f..bb17c26 100644 --- a/src/util_mfld_blackbay.c +++ b/src/util_mfld_blackbay.c @@ -51,7 +51,7 @@ size_t channel_read(GIOChannel *channel, void* buf, size_t nbytes) read_count++;
- err("g_io_channel_read_chars.. status[%d] rbytes =%d read_count = %d", status, rbytes, read_count);
+ dbg("g_io_channel_read_chars.. status[%d] rbytes =%d read_count = %d", status, rbytes, read_count);
bytes_read += rbytes;
toread -= rbytes;
@@ -126,7 +126,7 @@ void util_hex_dump(char *pad, int size, const void *data) unsigned char *p;
if (size <= 0) {
- msg("%sno data", pad);
+ dbg("<%s> no data", pad);
return;
}
@@ -148,6 +148,6 @@ void util_hex_dump(char *pad, int size, const void *data) }
}
- msg("%s", buf);
+ dbg("<%s>", buf);
}
|