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

Commit 07963a80 authored by Bidhya Sharma's avatar Bidhya Sharma Committed by Gerrit Code Review
Browse files

Merge "Initialize device type"

parents f05760e7 b7e16a05
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.