summaryrefslogtreecommitdiffstats
path: root/hcid/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/agent.c')
-rw-r--r--hcid/agent.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/agent.c b/hcid/agent.c
index 2335f09c..5706ea94 100644
--- a/hcid/agent.c
+++ b/hcid/agent.c
@@ -518,6 +518,11 @@ failed:
return -1;
}
+uint8_t agent_get_io_capability(struct agent *agent)
+{
+ return agent->capability;
+}
+
gboolean agent_matches(struct agent *agent, const char *name, const char *path)
{
if (g_str_equal(agent->name, name) && g_str_equal(agent->path, path))