summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-07-22 23:45:33 +0530
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:48:48 -0300
commitdebc2efd75e3211934c2f4262140e7c28f574945 (patch)
tree03a5549ab9f04e1de34edc52fcd2dbe1afff6619 /hcid/adapter.c
parentee86cf6916b26c167de8f0444778926148726fdf (diff)
Adding adapter_get_address.
Signed-off-by: Alok Barsode <alok.barsode@azingo.com>
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;
+}