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

Commit 9f4c65da authored by Chris Manton's avatar Chris Manton
Browse files

Remove duplicate code

Bug: 170396407
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Test: classic paired Bose SoundLink

Change-Id: Ibc6194b79025171d1ba8bdc73186ecbe79acaf6b
parent 5820a0f1
Loading
Loading
Loading
Loading
+0 −7
Original line number Original line Diff line number Diff line
@@ -176,13 +176,6 @@ void btm_ble_conn_complete(uint8_t* p, UNUSED_ATTR uint16_t evt_len,
      btm_ble_clear_topology_mask(BTM_BLE_STATE_INIT_BIT);
      btm_ble_clear_topology_mask(BTM_BLE_STATE_INIT_BIT);
    }
    }


    connection_manager::on_connection_complete(bda);
    btm_ble_connected(bda, handle, HCI_ENCRYPT_MODE_DISABLED, role, bda_type,
                      is_in_security_db);

    l2cble_conn_comp(handle, role, bda, bda_type, conn_interval, conn_latency,
                     conn_timeout);

    tBLE_BD_ADDR address_with_type{.bda = bda, .type = bda_type};
    tBLE_BD_ADDR address_with_type{.bda = bda, .type = bda_type};
    if (enhanced) {
    if (enhanced) {
      acl_ble_enhanced_connection_complete(
      acl_ble_enhanced_connection_complete(