diff options
Diffstat (limited to 'hcid/dbus-service.c')
-rw-r--r-- | hcid/dbus-service.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index b319b2be..2a756cbb 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -133,28 +133,6 @@ static void service_free(struct service *service) free(service); } -int register_service_records(GSList *lrecords) -{ - while (lrecords) { - struct binary_record *rec = lrecords->data; - lrecords = lrecords->next; - uint32_t handle = 0; - - if (!rec || !rec->buf || rec->handle != 0xffffffff) - continue; - - if (register_sdp_record(rec->buf->data, rec->buf->data_size, &handle) < 0) { - /* FIXME: If just one of the service record registration fails */ - error("Service Record registration failed:(%s, %d)", - strerror(errno), errno); - } - - rec->handle = handle; - } - - return 0; -} - static int unregister_service_records(GSList *lrecords) { while (lrecords) { @@ -1003,4 +981,3 @@ int init_services(const char *path) return 0; } - |