summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2008-07-22 21:33:26 +0530
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-07-28 10:48:34 -0300
commitee86cf6916b26c167de8f0444778926148726fdf (patch)
tree060ce17692ec9a6b5bcabc98592d1e9eda4219e5 /hcid/adapter.c
parent661a10565362c5ae0aad6a2ebf6513390cba868e (diff)
Adding adapter_get_path.
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 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;
+}