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

Commit 96c874f6 authored by William Escande's avatar William Escande Committed by Android (Google) Code Review
Browse files

Merge "BLE: Do not rewrite devtype in BTM_ReadDevInfo()" into tm-qpr-dev

parents ebc40bab 9301e202
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -488,9 +488,9 @@ void BTM_ReadDevInfo(const RawAddress& remote_bda, tBT_DEVICE_TYPE* p_dev_type,
    }
  } else /* there is a security device record exisitng */
  {
    /* new inquiry result, overwrite device type in security device record */
    /* new inquiry result, merge device type in security device record */
    if (p_inq_info) {
      p_dev_rec->device_type = p_inq_info->results.device_type;
      p_dev_rec->device_type |= p_inq_info->results.device_type;
      if (is_ble_addr_type_known(p_inq_info->results.ble_addr_type))
        p_dev_rec->ble.SetAddressType(p_inq_info->results.ble_addr_type);
      else