summaryrefslogtreecommitdiffstats
path: root/stack/smp/smp_br_main.c
diff options
context:
space:
mode:
authorAndre Eisenbach <eisenbach@google.com>2015-05-08 17:42:10 -0700
committerAndre Eisenbach <eisenbach@google.com>2015-05-14 16:51:12 +0000
commit1287166da9c34f041d54a78800b79cb2738675a9 (patch)
tree810d92fe988a92a02f9f32c3f3185b75c9e5e99c /stack/smp/smp_br_main.c
parentb4180cf8a5d70f9e1e815b64ba5e1df25d2fdda4 (diff)
downloadandroid_system_bt-1287166da9c34f041d54a78800b79cb2738675a9.tar.gz
android_system_bt-1287166da9c34f041d54a78800b79cb2738675a9.tar.bz2
android_system_bt-1287166da9c34f041d54a78800b79cb2738675a9.zip
DO NOT MERGE Fix compilation on platforms with BLE_INCLUDED == FALSE
This is not a comprehensive fix. More work is necessary to ensure the correct separation of BLE_INCLUDED TRUE/FALSE as well as removing many of the hacked-up if() statements resulting from this patch. Change-Id: I1812594feba0bf43369096e472a8b18cde305255
Diffstat (limited to 'stack/smp/smp_br_main.c')
-rw-r--r--stack/smp/smp_br_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stack/smp/smp_br_main.c b/stack/smp/smp_br_main.c
index 573db7fbc..11039ec20 100644
--- a/stack/smp/smp_br_main.c
+++ b/stack/smp/smp_br_main.c
@@ -21,6 +21,8 @@
#include <string.h>
#include "smp_int.h"
+#if BLE_INCLUDED == TRUE
+
const char *const smp_br_state_name [SMP_BR_STATE_MAX+1] =
{
"SMP_BR_STATE_IDLE",
@@ -394,4 +396,4 @@ void smp_br_state_machine_event(tSMP_CB *p_cb, tSMP_BR_EVENT event, void *p_data
SMP_TRACE_DEBUG( "result state = %s", smp_get_br_state_name( p_cb->br_state ) ) ;
}
-
+#endif