summaryrefslogtreecommitdiffstats
path: root/dund/sdp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-08-07 06:22:38 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-08-07 06:22:38 +0000
commit76823d4777869743af04038d82705cd7249657b8 (patch)
tree29f432461e807792a267664ce1023da66c0181cb /dund/sdp.c
parentddefb55b4fec8598ce8ec0bc78e8321030269f59 (diff)
Use device specific service record register function
Diffstat (limited to 'dund/sdp.c')
-rw-r--r--dund/sdp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dund/sdp.c b/dund/sdp.c
index 45060e81..16ef09f4 100644
--- a/dund/sdp.c
+++ b/dund/sdp.c
@@ -56,7 +56,7 @@ void dun_sdp_unregister(void)
sdp_close(session);
}
-int dun_sdp_register(uint8_t channel, int mrouter)
+int dun_sdp_register(bdaddr_t *device, uint8_t channel, int mrouter)
{
sdp_list_t *svclass, *pfseq, *apseq, *root, *aproto;
uuid_t root_uuid, l2cap, rfcomm, dun;
@@ -104,7 +104,7 @@ int dun_sdp_register(uint8_t channel, int mrouter)
sdp_set_info_attr(record, mrouter ? "mRouter" : "LAN Access Point", NULL, NULL);
- status = sdp_record_register(session, record, 0);
+ status = sdp_device_record_register(session, device, record, 0);
if (status) {
syslog(LOG_ERR, "SDP registration failed.");
sdp_record_free(record); record = NULL;