summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2012-12-12 17:18:15 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2012-12-12 17:18:15 -0800
commit689d66b6559dcb3a0ad7f6cc33b6129e50910253 (patch)
tree0da4b1946b25b966e04569afd01aa992e19fb7bc /main
parent3ad3c81926cce0ae789752fbef6aa79ba595ae83 (diff)
downloadexternal_bluetooth_bluedroid-689d66b6559dcb3a0ad7f6cc33b6129e50910253.zip
external_bluetooth_bluedroid-689d66b6559dcb3a0ad7f6cc33b6129e50910253.tar.gz
external_bluetooth_bluedroid-689d66b6559dcb3a0ad7f6cc33b6129e50910253.tar.bz2
Snapshot 9fd57cbacd95e89602f430244c35bbc67f08b6d2
Change-Id: Ibc3a4bf4161d286c7cfab89a19c676eb5cc9224f
Diffstat (limited to 'main')
-rw-r--r--main/bte_logmsg.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/bte_logmsg.c b/main/bte_logmsg.c
index 52502ae..7035a57 100644
--- a/main/bte_logmsg.c
+++ b/main/bte_logmsg.c
@@ -311,6 +311,14 @@ BT_API UINT8 BTAPP_SetTraceLevel( UINT8 new_level )
return (appl_trace_level);
}
+BT_API UINT8 BTIF_SetTraceLevel( UINT8 new_level )
+{
+ if (new_level != 0xFF)
+ btif_trace_level = new_level;
+
+ return (btif_trace_level);
+}
+
BTU_API UINT8 BTU_SetTraceLevel( UINT8 new_level )
{
if (new_level != 0xFF)
@@ -471,6 +479,10 @@ tBTTRC_FUNC_MAP bttrc_set_level_map[] = {
{BTTRC_ID_BTA_ACC, BTTRC_ID_BTAPP, BTAPP_SetTraceLevel, BTL_GLOBAL_PROP_TRC_FLAG, DEFAULT_CONF_TRACE_LEVEL},
#endif
+#if (BT_TRACE_BTIF == TRUE)
+ {BTTRC_ID_BTA_ACC, BTTRC_ID_BTAPP, BTIF_SetTraceLevel, "TRC_BTIF", DEFAULT_CONF_TRACE_LEVEL},
+#endif
+
{0, 0, NULL, NULL, DEFAULT_CONF_TRACE_LEVEL}
};