summaryrefslogtreecommitdiffstats
path: root/bta
diff options
context:
space:
mode:
Diffstat (limited to 'bta')
-rw-r--r--bta/dm/bta_dm_act.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bta/dm/bta_dm_act.c b/bta/dm/bta_dm_act.c
index 3c93f23..f43a5c7 100644
--- a/bta/dm/bta_dm_act.c
+++ b/bta/dm/bta_dm_act.c
@@ -1525,7 +1525,8 @@ void bta_dm_sdp_result (tBTA_DM_MSG *p_data)
{
/* SDP_DB_FULL means some records with the
required attributes were received */
- if((p_data->sdp_event.sdp_result == SDP_DB_FULL) ||
+ if(((p_data->sdp_event.sdp_result == SDP_DB_FULL) &&
+ bta_dm_search_cb.services != BTA_ALL_SERVICE_MASK) ||
(p_sdp_rec != NULL))
{
/* If Plug and Play service record, check to see if Broadcom stack */