summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r--hcid/adapter.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 0d257ae1..c1e6f3aa 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -2565,3 +2565,11 @@ uint16_t adapter_get_dev_id(struct adapter *adapter)
{
return adapter->dev_id;
}
+
+const gchar *adapter_get_path(struct adapter *adapter)
+{
+ if (!adapter)
+ return NULL;
+
+ return adapter->path;
+}