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

Commit a57b5a2b authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Automerger Merge Worker
Browse files

Don't return GATT services discovered over SDP separately am: 273843ce

parents a8ef49f0 273843ce
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1598,6 +1598,12 @@ static void btif_dm_search_services_evt(tBTA_DM_SEARCH_EVT event,
        num_properties++;
      }

      /* If services were returned as part of SDP discovery, we will immediately
       * send them with rest of SDP results in BTA_DM_DISC_RES_EVT */
      if (event == BTA_DM_GATT_OVER_SDP_RES_EVT) {
        return;
      }

      /* Send the event to the BTIF */
      invoke_remote_device_properties_cb(BT_STATUS_SUCCESS, bd_addr,
                                         num_properties, prop);