Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2e3a187 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Use default value instead of override for acl_create_le_connection_with_id

Bug: 372202918
Test: mma -j32
Flag: EXEMPT, trivial
Change-Id: If4b2d25fad63d1eecd696d780c6526e29c8691e8
parent b03d3e5b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2494,10 +2494,6 @@ bool acl_create_le_connection_with_id(uint8_t id, const RawAddress& bd_addr,
  return true;
}

bool acl_create_le_connection_with_id(uint8_t id, const RawAddress& bd_addr) {
  return acl_create_le_connection_with_id(id, bd_addr, BLE_ADDR_PUBLIC);
}

bool acl_create_le_connection(const RawAddress& bd_addr) {
  return acl_create_le_connection_with_id(CONN_MGR_ID_L2CAP, bd_addr);
}
+1 −2
Original line number Diff line number Diff line
@@ -26,9 +26,8 @@
// This header contains functions for L2cap-ACL to invoke
//
bool acl_create_le_connection(const RawAddress& bd_addr);
bool acl_create_le_connection_with_id(uint8_t id, const RawAddress& bd_addr);
bool acl_create_le_connection_with_id(uint8_t id, const RawAddress& bd_addr,
                                      tBLE_ADDR_TYPE addr_type);
                                      tBLE_ADDR_TYPE addr_type = BLE_ADDR_PUBLIC);
void acl_send_data_packet_br_edr(const RawAddress& bd_addr, BT_HDR* p_buf);
void acl_send_data_packet_ble(const RawAddress& bd_addr, BT_HDR* p_buf);
void acl_write_automatic_flush_timeout(const RawAddress& bd_addr, uint16_t flush_timeout);