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

Commit b56b24f9 authored by Chris Manton's avatar Chris Manton
Browse files

stack::sdp [6/12] handle.SDP_AddServiceClassIdList

Bug: 339311914
Test: m .
Flag: EXEMPT, Logging Change

Change-Id: I48bb8003dcba990af0c96672bb2500d654c4a538
parent a84d4d5d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -942,8 +942,10 @@ uint32_t gatt_add_sdp_record(const Uuid& uuid, uint16_t start_hdl,
  switch (uuid.GetShortestRepresentationSize()) {
    case Uuid::kNumBytes16: {
      uint16_t tmp = uuid.As16Bit();
      get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_handle,
                                                                   1, &tmp);
      if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(
              sdp_handle, 1, &tmp)) {
        log::warn("Unable to add SDP attribute for 16 bit uuid");
      }
      break;
    }