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

Commit 4aba8619 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android Git Automerger
Browse files

am 683672f1: Merge "Add LE device to inquiry DB before pairing" into lmp-dev

* commit '683672f1':
  Add LE device to inquiry DB before pairing
parents 7d41817e 683672f1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -598,9 +598,9 @@ static void btif_dm_cb_create_bond(bt_bdaddr_t *bd_addr, tBTA_TRANSPORT transpor
    int addr_type;
    bdstr_t bdstr;
    bd2str(bd_addr, &bdstr);
    if(btif_config_get_int("Remote", (char const *)&bdstr,"DevType", &device_type) &&
    if((btif_config_get_int("Remote", (char const *)&bdstr,"DevType", &device_type) &&
       (btif_storage_get_remote_addr_type(bd_addr, &addr_type) == BT_STATUS_SUCCESS) &&
       (device_type == BT_DEVICE_TYPE_BLE))
       (device_type == BT_DEVICE_TYPE_BLE)) || (transport == BT_TRANSPORT_LE))
    {
        BTA_DmAddBleDevice(bd_addr->address, addr_type, BT_DEVICE_TYPE_BLE);
    }