summaryrefslogtreecommitdiff
path: root/src/sdpd-service.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-02-05 19:23:31 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-02-05 19:23:31 -0800
commit78e00df33790e9bec2579df1d30aef133cc62457 (patch)
tree0c644f184b1c2fa07b0f11083e6936a20206d1cd /src/sdpd-service.c
parented9e3ff848c33526e2cd45496b0325b18b1ea9f0 (diff)
downloadbluez-78e00df33790e9bec2579df1d30aef133cc62457.tar.gz
Don't include PnP service class in EIR response
Diffstat (limited to 'src/sdpd-service.c')
-rw-r--r--src/sdpd-service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sdpd-service.c b/src/sdpd-service.c
index 03ea355cb..19a54fe29 100644
--- a/src/sdpd-service.c
+++ b/src/sdpd-service.c
@@ -214,6 +214,9 @@ void create_ext_inquiry_response(const char *name, uint8_t *data)
if (rec->svclass.value.uuid16 < 0x1100)
continue;
+ if (rec->svclass.value.uuid16 == PNP_INFO_SVCLASS_ID)
+ continue;
+
if (index > 23) {
ptr[1] = 0x02;
break;