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

Commit 5e179e65 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

stack::sdp [6/12] handle.SDP_AddServiceClassIdList am: b56b24f9 am: 34a299cd

parents d2a396ba 34a299cd
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;
    }