summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-08-18 23:16:05 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-08-18 23:16:05 +0000
commit1c5950bc576797957d41fe9ce746b51c9b05cd9b (patch)
treeb394e3b797cb5f869910e4851902d3262dda9dbb
parent3b65dfcfae872670650113c6b103081118760a4e (diff)
Fix copy-and-paste typo
-rw-r--r--hcid/dbus-security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c
index 2cc4d44b..d2d634e6 100644
--- a/hcid/dbus-security.c
+++ b/hcid/dbus-security.c
@@ -583,7 +583,7 @@ void cancel_passkey_agent_requests(struct slist *agents, const char *path, bdadd
struct pending_agent_request *req = l->data;
next = l->next;
if (!strcmp(path, req->path) && !bacmp(addr, &req->bda)) {
- send_cancel_request(default_agent, req);
+ send_cancel_request(agent, req);
agent->pending_requests = slist_remove(agent->pending_requests, req);
}
}