summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-sdp.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-06-15 20:52:24 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-06-15 20:52:24 +0000
commitf40b3df073bebd2dcfc7d0087be5f7da8eae6a05 (patch)
tree849fd0a1b2ec65d73445082d755907d2a47ccd6b /hcid/dbus-sdp.c
parent308b9c96374fce729fa3d15d6d28daccbfac2f5d (diff)
GetRemoteServiceIdentifiers: If the reply is empty(for L2CAP) try DeviceID
Diffstat (limited to 'hcid/dbus-sdp.c')
-rw-r--r--hcid/dbus-sdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c
index 37101fa9..1fe7b0fd 100644
--- a/hcid/dbus-sdp.c
+++ b/hcid/dbus-sdp.c
@@ -787,9 +787,9 @@ static void remote_svc_identifiers_completed_cb(uint8_t type, uint16_t err,
case PUBLIC_BROWSE_GROUP:
sdp_uuid16_create(&ctxt->uuid, L2CAP_UUID);
break;
-
- /* FIXME: Try DeviceID(PNP_INFO_PROFILE_ID) */
-
+ case L2CAP_UUID:
+ sdp_uuid16_create(&ctxt->uuid, PNP_INFO_SVCLASS_ID);
+ break;
default: /* Reply an empty array */
goto done;
}