summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-10 18:35:04 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:31:32 -0300
commitf0e152e16102de80b7fe8510f455f993980ebb2f (patch)
treec6f682bce1d381f50414533e551fc3351e817de1 /hcid/device.c
parent34f8a76bd5bd24ae1a1594f4d1460df393675ec1 (diff)
Remove deprecated object paths and files.
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hcid/device.c b/hcid/device.c
index 7a519716..00f77aa4 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -1576,20 +1576,18 @@ int btd_register_device_driver(struct btd_device_driver *driver)
{
const char **uuid;
+ /* FIXME: hack to make hci to resolve service_req_auth symbol*/
+ service_req_auth(NULL, NULL, NULL, NULL, NULL);
drivers = g_slist_append(drivers, driver);
for (uuid = driver->uuids; *uuid; uuid++) {
debug("name %s uuid %s", driver->name, *uuid);
}
- register_service(driver->name, driver->uuids);
-
return 0;
}
void btd_unregister_device_driver(struct btd_device_driver *driver)
{
- unregister_service(driver->name);
-
drivers = g_slist_remove(drivers, driver);
}