summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-02-12 22:25:20 -0800
committerSteve Kondik <shade@chemlab.org>2013-02-12 22:25:20 -0800
commit5ae3694ab8f2913cb42f0046ab7f436aa3d45223 (patch)
treec79c79910b388fac0e880470fe8cdac943288920 /main
parent9c25a75b3e4c028dff8521e6a7d5215e2e251907 (diff)
parent689d66b6559dcb3a0ad7f6cc33b6129e50910253 (diff)
downloadexternal_bluetooth_bluedroid-5ae3694ab8f2913cb42f0046ab7f436aa3d45223.zip
external_bluetooth_bluedroid-5ae3694ab8f2913cb42f0046ab7f436aa3d45223.tar.gz
external_bluetooth_bluedroid-5ae3694ab8f2913cb42f0046ab7f436aa3d45223.tar.bz2
Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/external/bluetooth/bluedroid into 1.1
Android 4.2.2 release 1
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}
};