diff options
author | Matthew Xie <mattx@google.com> | 2012-11-01 17:14:40 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-11-01 17:48:22 -0700 |
commit | 073362e1a87d995a0257eb8386ef8e3e91eec628 (patch) | |
tree | 882f2d152f0dc5ecacb900be9f33564f0a495f5b /bta/dm | |
parent | 02f8bc6eeb93809da4a7dee62fd092095a11d885 (diff) | |
download | external_bluetooth_bluedroid-073362e1a87d995a0257eb8386ef8e3e91eec628.zip external_bluetooth_bluedroid-073362e1a87d995a0257eb8386ef8e3e91eec628.tar.gz external_bluetooth_bluedroid-073362e1a87d995a0257eb8386ef8e3e91eec628.tar.bz2 |
Turn off hid debug messages
Some of the message should be debug instead of warning.
Some of the messages were in wrong log message module
bug 7174712
Change-Id: Ib57ae6255bdbe53d2d931b1003a47cd6cadcb425
Diffstat (limited to 'bta/dm')
-rw-r--r-- | bta/dm/bta_dm_pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bta/dm/bta_dm_pm.c b/bta/dm/bta_dm_pm.c index b99f84a..8a993de 100644 --- a/bta/dm/bta_dm_pm.c +++ b/bta/dm/bta_dm_pm.c @@ -103,7 +103,7 @@ void bta_dm_disable_pm(void) { if(bta_dm_cb.pm_timer[i].in_use) { - APPL_TRACE_WARNING1("stop dm_pm_timer:%d", i); + APPL_TRACE_DEBUG1("stop dm_pm_timer:%d", i); bta_sys_stop_timer(&bta_dm_cb.pm_timer[i].timer); bta_dm_cb.pm_timer[i].in_use = FALSE; } @@ -129,7 +129,7 @@ static void bta_dm_pm_stop_timer(BD_ADDR peer_addr) if(bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) { - APPL_TRACE_WARNING1("stop dm_pm_timer:%d", i); + APPL_TRACE_DEBUG1("stop dm_pm_timer:%d", i); bta_sys_stop_timer(&bta_dm_cb.pm_timer[i].timer); bta_dm_cb.pm_timer[i].in_use = FALSE; break; @@ -424,7 +424,7 @@ static void bta_dm_pm_set_mode(BD_ADDR peer_addr, BOOLEAN timed_out ) bdcpy(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr); bta_dm_cb.pm_timer[i].timer.p_cback = bta_dm_pm_timer_cback; bta_sys_start_timer(&bta_dm_cb.pm_timer[i].timer, 0, timeout); - APPL_TRACE_WARNING2("start dm_pm_timer:%d, %d", i, timeout); + APPL_TRACE_DEBUG2("start dm_pm_timer:%d, %d", i, timeout); return; } |