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

Commit ff715222 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Skip SDP search with an empty service class id"

parents 3b19957b 8d492838
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1357,8 +1357,10 @@ void bta_dm_sdp_result(tBTA_DM_MSG* p_data) {
    do {
      p_sdp_rec = NULL;
      if (bta_dm_search_cb.service_index == (BTA_USER_SERVICE_ID + 1)) {
        if (!bta_dm_search_cb.uuid.IsEmpty()) {
          p_sdp_rec = SDP_FindServiceUUIDInDb(bta_dm_search_cb.p_sdp_db,
                                              bta_dm_search_cb.uuid, p_sdp_rec);
        }

        if (p_sdp_rec && SDP_FindProtocolListElemInRec(
                             p_sdp_rec, UUID_PROTOCOL_RFCOMM, &pe)) {