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 c1e6f3aa..b82623d6 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -2573,3 +2573,11 @@ const gchar *adapter_get_path(struct adapter *adapter)
return adapter->path;
}
+
+const gchar *adapter_get_address(struct adapter *adapter)
+{
+ if (!adapter)
+ return NULL;
+
+ return adapter->address;
+}