OSDN Git Service

Include btm_sec when required
authorChris Manton <cmanton@google.com>
Mon, 7 Sep 2020 21:50:07 +0000 (14:50 -0700)
committerChris Manton <cmanton@google.com>
Sat, 12 Sep 2020 06:02:16 +0000 (06:02 +0000)
Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I4fd392d1ae084e06f6ccbdd3c7fc1aef013b7569

stack/l2cap/l2c_link.cc
stack/smp/smp_act.cc

index 04461b7..f1916ef 100644 (file)
@@ -30,6 +30,7 @@
 #include "gd/os/log.h"
 #include "osi/include/osi.h"
 #include "stack/btm/btm_dev.h"
+#include "stack/btm/btm_sec.h"
 #include "stack/include/bt_types.h"
 #include "stack/l2cap/l2c_int.h"
 #include "types/bt_transport.h"
index 8eaaf8f..728a029 100644 (file)
@@ -25,6 +25,7 @@
 #include "internal_include/bt_target.h"
 #include "stack/btm/btm_dev.h"
 #include "stack/btm/btm_int.h"
+#include "stack/btm/btm_sec.h"
 #include "stack/include/acl_api.h"
 #include "stack/include/l2c_api.h"
 #include "stack/smp/p_256_ecc_pp.h"