summaryrefslogtreecommitdiffstats
path: root/hcid/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/device.c')
-rw-r--r--hcid/device.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hcid/device.c b/hcid/device.c
index dffbdcde..008afa7e 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -944,6 +944,14 @@ const gchar *device_get_address(struct device *device)
return device->address;
}
+const gchar *device_get_path(struct device *device)
+{
+ if (!device)
+ return NULL;
+
+ return device->path;
+}
+
int btd_register_device_driver(struct btd_device_driver *driver)
{
const char **uuid;