summaryrefslogtreecommitdiffstats
path: root/stack/btm
diff options
context:
space:
mode:
authorYK Jeffrey Chao <jechao@broadcom.com>2012-08-24 11:47:04 -0700
committerMatthew Xie <mattx@google.com>2012-08-24 15:45:44 -0700
commit8ea28806bf5443ebf2e3449f810961ddbcf26d01 (patch)
treebc53130b89568cbd8efdc485ac35926353e3ad07 /stack/btm
parente9d957443d3e5d7427c5d09a306e2b5e99d26201 (diff)
downloadexternal_bluetooth_bluedroid-8ea28806bf5443ebf2e3449f810961ddbcf26d01.zip
external_bluetooth_bluedroid-8ea28806bf5443ebf2e3449f810961ddbcf26d01.tar.gz
external_bluetooth_bluedroid-8ea28806bf5443ebf2e3449f810961ddbcf26d01.tar.bz2
Remove hardcoded trace level settings in stack modules.
BTM, BTU, and BTA modules were preset with hardcoded trace level (BT_TRACE_LEVEL_DEBUG) during early development days. Since the trace levels have been made configurable in /etc/bluetooth/bt_stack.conf at run-time, removing those hardcoded settings. So, the compile-time default trace level BT_TRACE_LEVEL_WARNING (set in bt_trace.h) will be used if the bt_stack.conf is missing, or if the TraceConf=false is given in the bt_stack.conf. Change-Id: I76d905adbfda3c40f714398da86ebec90a1a8a40
Diffstat (limited to 'stack/btm')
-rw-r--r--stack/btm/btm_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stack/btm/btm_main.c b/stack/btm/btm_main.c
index 42489e1..67be0f2 100644
--- a/stack/btm/btm_main.c
+++ b/stack/btm/btm_main.c
@@ -43,8 +43,6 @@ void btm_init (void)
#else
btm_cb.trace_level = BT_TRACE_LEVEL_NONE; /* No traces */
#endif
- /* TODO Bluedroid - Hardcoded trace level. Needs to be configurable */
- btm_cb.trace_level = BT_TRACE_LEVEL_DEBUG;
/* Initialize BTM component structures */
btm_inq_db_init(); /* Inquiry Database and Structures */
btm_acl_init(); /* ACL Database and Structures */