summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-security.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r--hcid/dbus-security.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c
index c4ef5931..d757100a 100644
--- a/hcid/dbus-security.c
+++ b/hcid/dbus-security.c
@@ -58,6 +58,9 @@ static void passkey_agent_free(struct passkey_agent *agent)
for (l = agent->pending_requests; l != NULL; l = l->next) {
struct pending_agent_request *req = l->data;
+
+ hci_send_cmd(req->dev, OGF_LINK_CTL,
+ OCF_PIN_CODE_NEG_REPLY, 6, &req->bda);
free(req->path);
dbus_pending_call_cancel(req->call);