From 76823d4777869743af04038d82705cd7249657b8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 7 Aug 2005 06:22:38 +0000 Subject: Use device specific service record register function --- dund/sdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dund/sdp.c') 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; -- cgit