From 95772843cb35416a6b2b0d96f4b3b1ddde69ce22 Mon Sep 17 00:00:00 2001 From: Chris Manton Date: Sun, 16 Aug 2020 21:55:20 -0700 Subject: [PATCH] Internally link stack/acl/btm_acl::btm_ble_get_acl_remote_addr Towards readable code Bug: 163134718 Tag: #refactor Test: act.py -tc BleCocTest Test: ble paired 2 phones Test: classic paired Bose SoundLink Change-Id: Id440b966613aaeb4b39ece7d4517a5158e823456 --- stack/acl/btm_acl.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stack/acl/btm_acl.cc b/stack/acl/btm_acl.cc index 2b4d2b14d..ebccfa1bc 100644 --- a/stack/acl/btm_acl.cc +++ b/stack/acl/btm_acl.cc @@ -116,6 +116,9 @@ static void btm_sec_set_peer_sec_caps(tACL_CONN* p_acl_cb, tBTM_SEC_DEV_REC* p_dev_rec); static bool acl_is_role_master(const RawAddress& bda, tBT_TRANSPORT transport); static void btm_set_link_policy(tACL_CONN* conn, uint16_t policy); +static bool btm_ble_get_acl_remote_addr(tBTM_SEC_DEV_REC* p_dev_rec, + RawAddress& conn_addr, + tBLE_ADDR_TYPE* p_addr_type); /* 3 seconds timeout waiting for responses */ #define BTM_DEV_REPLY_TIMEOUT_MS (3 * 1000) -- 2.11.0