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

Commit efe15e7c authored by Bidhya Sharma's avatar Bidhya Sharma Committed by Automerger Merge Worker
Browse files

Merge "Initialize device type" am: 07963a80

parents 16dd74e3 07963a80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -741,7 +741,7 @@ void BleScannerInterfaceImpl::handle_remote_properties(
  uint8_t flag_len;
  const uint8_t* p_flag = AdvertiseDataParser::GetFieldByType(
      advertising_data, BTM_BLE_AD_TYPE_FLAG, &flag_len);
  bluetooth::hci::DeviceType device_type;
  auto device_type = bluetooth::hci::DeviceType::UNKNOWN;
  bool is_adv_connectable = event_type & (1 << BLE_EVT_CONNECTABLE_BIT);
  // 1. If adv is connectable and flag data is not present, device type is
  // DUAL mode.