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

Commit ff9fedcf authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Gerrit Code Review
Browse files

Merge "bt: Fix getting device type."

parents cebe9f81 f6a115c6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -112,9 +112,10 @@ void BTM_SecAddBleDevice(const RawAddress& bd_addr, tBT_DEVICE_TYPE dev_type,
  tBTM_INQ_INFO* p_info = BTM_InqDbRead(bd_addr);
  if (p_info) {
    p_info->results.ble_addr_type = p_dev_rec->ble.AddressType();
    p_dev_rec->device_type |= p_info->results.device_type;
    LOG_DEBUG("InqDb device_type =0x%x addr_type=0x%x", p_dev_rec->device_type,
              p_info->results.ble_addr_type);
    p_info->results.device_type = p_dev_rec->device_type;
    LOG_DEBUG("InqDb device_type =0x%x  addr_type=0x%x",
              p_info->results.device_type, p_info->results.ble_addr_type);
  }
}