diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-11-01 01:17:12 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-11-01 01:17:12 +0100 |
commit | 063167c27c3e2cf9ac647a617abf345451de0787 (patch) | |
tree | 4d3785ccadef402b42770d0a07135ced49b96a57 /src/adapter.c | |
parent | 81a1e13f79d3e6e7b2044e9d35592e490b01e65b (diff) |
Make FindAdapter return the any object if present
Diffstat (limited to 'src/adapter.c')
-rw-r--r-- | src/adapter.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/adapter.c b/src/adapter.c index 0c28ac5e..0997c1ee 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -3401,6 +3401,11 @@ void adapter_update_devices(struct btd_adapter *adapter) static gchar *adapter_any_path = NULL; static int adapter_any_refcount = 0; +const char *adapter_any_get_path(void) +{ + return adapter_any_path; +} + const char *btd_adapter_any_request_path(void) { if (adapter_any_refcount > 0) |