summaryrefslogtreecommitdiffstats
path: root/stack/l2cap/l2c_main.c
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2014-12-23 23:08:58 -0800
committerAndre Eisenbach <eisenbach@google.com>2015-03-16 16:51:40 -0700
commit44802768c447ab480d4227b3a852a97d923b816d (patch)
tree52f2bdda1fa934f89af3b2161a26cb47170f8567 /stack/l2cap/l2c_main.c
parent3b24dfb998e76b389b9c850f53e0c8016383f2b8 (diff)
downloadandroid_system_bt-44802768c447ab480d4227b3a852a97d923b816d.tar.gz
android_system_bt-44802768c447ab480d4227b3a852a97d923b816d.tar.bz2
android_system_bt-44802768c447ab480d4227b3a852a97d923b816d.zip
Add platform-independent logging macros to OSI.
These macros should replace ALOG* and the various trace macros used throughout bluedroid. This change eliminates all uses of the ALOG* macros in favor of the new ones.
Diffstat (limited to 'stack/l2cap/l2c_main.c')
-rwxr-xr-xstack/l2cap/l2c_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stack/l2cap/l2c_main.c b/stack/l2cap/l2c_main.c
index e8669289c..daef35e1b 100755
--- a/stack/l2cap/l2c_main.c
+++ b/stack/l2cap/l2c_main.c
@@ -22,7 +22,6 @@
*
******************************************************************************/
-#include <cutils/log.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@ -37,6 +36,7 @@
#include "l2c_api.h"
#include "l2c_int.h"
#include "l2cdefs.h"
+#include "osi/include/log.h"
/********************************************************************************/
/* L O C A L F U N C T I O N P R O T O T Y P E S */
@@ -894,7 +894,7 @@ void l2c_init (void)
l2cb.rcv_pending_q = list_new(NULL);
if (l2cb.rcv_pending_q == NULL)
- ALOGE("%s unable to allocate memory for link layer control block", __func__);
+ LOG_ERROR("%s unable to allocate memory for link layer control block", __func__);
}
void l2c_free(void) {