summaryrefslogtreecommitdiff
path: root/src/agent.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-12-27 10:19:15 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-12-27 10:35:55 -0800
commit9f9d1bc9ae4eb742590d39909cc5769b66649633 (patch)
tree1e2e52b77edf186232bae23e00338aaa266e1ce5 /src/agent.h
parent99fa1447212437d2c9150b3d6c90ec3bc1f7aeb2 (diff)
downloadbluez-9f9d1bc9ae4eb742590d39909cc5769b66649633.tar.gz
agent: Detect when ongoing request is already in progress
This detects when a agent request is already pending for the same device which could happen when there are 2 or more adapters in the system and they are trying to pair with each other.
Diffstat (limited to 'src/agent.h')
-rw-r--r--src/agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/agent.h b/src/agent.h
index f14d14325..1438b9e6d 100644
--- a/src/agent.h
+++ b/src/agent.h
@@ -45,7 +45,7 @@ void agent_unref(struct agent *agent);
struct agent *agent_get(const char *owner);
-int agent_authorize_service(struct agent *agent, const char *path,
+int agent_authorize_service(struct agent *agent, struct btd_device *device,
const char *uuid, agent_cb cb,
void *user_data, GDestroyNotify destroy);