summaryrefslogtreecommitdiffstats
path: root/stack/l2cap/l2c_ble.c
diff options
context:
space:
mode:
Diffstat (limited to 'stack/l2cap/l2c_ble.c')
-rw-r--r--stack/l2cap/l2c_ble.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stack/l2cap/l2c_ble.c b/stack/l2cap/l2c_ble.c
index a44049282..2f2646e4c 100644
--- a/stack/l2cap/l2c_ble.c
+++ b/stack/l2cap/l2c_ble.c
@@ -24,6 +24,7 @@
#include <string.h>
#include "bt_target.h"
+#include "bt_utils.h"
#include "l2cdefs.h"
#include "l2c_int.h"
#include "btu.h"
@@ -426,6 +427,10 @@ void l2cble_advertiser_conn_comp (UINT16 handle, BD_ADDR bda, tBLE_ADDR_TYPE typ
{
tL2C_LCB *p_lcb;
tBTM_SEC_DEV_REC *p_dev_rec;
+ UNUSED(type);
+ UNUSED(conn_interval);
+ UNUSED(conn_latency);
+ UNUSED(conn_timeout);
/* See if we have a link control block for the remote device */
p_lcb = l2cu_find_lcb_by_bd_addr (bda);