diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-08-07 06:22:38 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-08-07 06:22:38 +0000 |
commit | 76823d4777869743af04038d82705cd7249657b8 (patch) | |
tree | 29f432461e807792a267664ce1023da66c0181cb /dund/sdp.c | |
parent | ddefb55b4fec8598ce8ec0bc78e8321030269f59 (diff) |
Use device specific service record register function
Diffstat (limited to 'dund/sdp.c')
-rw-r--r-- | dund/sdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |