Loading system/stack/acl/acl.h +0 −1 Original line number Diff line number Diff line Loading @@ -278,7 +278,6 @@ typedef struct { tBTM_PM_MODE* p_mode); friend bool acl_is_role_switch_allowed(); friend bool btm_pm_is_le_link(const RawAddress& remote_bda); friend const RawAddress acl_address_from_handle(uint16_t hci_handle); friend int btm_pm_find_acl_ind(const RawAddress& remote_bda); friend tACL_CONN* btm_bda_to_acl(const RawAddress& bda, tBT_TRANSPORT transport); Loading system/stack/acl/btm_acl.cc +4 −4 Original line number Diff line number Diff line Loading @@ -2452,12 +2452,12 @@ bool BTM_IsBleConnection(uint16_t hci_handle) { return p_acl->is_transport_ble(); } const RawAddress acl_address_from_handle(uint16_t hci_handle) { uint8_t index = btm_handle_to_acl_index(hci_handle); if (index >= MAX_L2CAP_LINKS) { const RawAddress acl_address_from_handle(uint16_t handle) { tACL_CONN* p_acl = acl_get_connection_from_handle(handle); if (p_acl == nullptr) { return RawAddress::kEmpty; } return btm_cb.acl_cb_.acl_db[index].remote_addr; return p_acl->remote_addr; } tBTM_PM_MCB* acl_power_mode_from_handle(uint16_t hci_handle) { Loading Loading
system/stack/acl/acl.h +0 −1 Original line number Diff line number Diff line Loading @@ -278,7 +278,6 @@ typedef struct { tBTM_PM_MODE* p_mode); friend bool acl_is_role_switch_allowed(); friend bool btm_pm_is_le_link(const RawAddress& remote_bda); friend const RawAddress acl_address_from_handle(uint16_t hci_handle); friend int btm_pm_find_acl_ind(const RawAddress& remote_bda); friend tACL_CONN* btm_bda_to_acl(const RawAddress& bda, tBT_TRANSPORT transport); Loading
system/stack/acl/btm_acl.cc +4 −4 Original line number Diff line number Diff line Loading @@ -2452,12 +2452,12 @@ bool BTM_IsBleConnection(uint16_t hci_handle) { return p_acl->is_transport_ble(); } const RawAddress acl_address_from_handle(uint16_t hci_handle) { uint8_t index = btm_handle_to_acl_index(hci_handle); if (index >= MAX_L2CAP_LINKS) { const RawAddress acl_address_from_handle(uint16_t handle) { tACL_CONN* p_acl = acl_get_connection_from_handle(handle); if (p_acl == nullptr) { return RawAddress::kEmpty; } return btm_cb.acl_cb_.acl_db[index].remote_addr; return p_acl->remote_addr; } tBTM_PM_MCB* acl_power_mode_from_handle(uint16_t hci_handle) { Loading