summaryrefslogtreecommitdiff
path: root/src/sdpd-service.c
diff options
context:
space:
mode:
authorFrancisco Alecrim <francisco.alecrim@openbossa.org>2010-04-07 12:25:50 -0400
committerJohan Hedberg <johan.hedberg@nokia.com>2010-04-07 20:31:27 +0300
commita05689dde7d36c837dccb0303bbf981e7682a38c (patch)
tree3f96eb0cc399480aa13f2d8fd9b8e9dc64b75eed /src/sdpd-service.c
parent9266dfeac26b7c572f35f698f4f608229f821905 (diff)
downloadbluez-a05689dde7d36c837dccb0303bbf981e7682a38c.tar.gz
Correct UUIDs list to EIR
Correct create_ext_inquiry_response to response only UUIDs per-adapter.
Diffstat (limited to 'src/sdpd-service.c')
-rw-r--r--src/sdpd-service.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sdpd-service.c b/src/sdpd-service.c
index a8f7d478b..4551577f2 100644
--- a/src/sdpd-service.c
+++ b/src/sdpd-service.c
@@ -167,9 +167,10 @@ uint8_t get_service_classes(const bdaddr_t *bdaddr)
}
void create_ext_inquiry_response(const char *name,
- int8_t tx_power, uint8_t *data)
+ int8_t tx_power, sdp_list_t *services,
+ uint8_t *data)
{
- sdp_list_t *list = sdp_get_record_list();
+ sdp_list_t *list = services;
uint8_t *ptr = data;
uint16_t uuid[24];
int i, index = 0;