summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-security.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-10-22 17:35:03 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-10-22 17:35:03 +0000
commitc6e02b7f95315f1dafa3a6489ea5f2f558ec56cf (patch)
treec3d8dd844da07de1451f5eba8905931f1114223c /hcid/dbus-security.c
parentaf34a71cc0f6fdfb3ccd3085fd77030988e229f1 (diff)
Basic integration of confirmation concept
Diffstat (limited to 'hcid/dbus-security.c')
-rw-r--r--hcid/dbus-security.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hcid/dbus-security.c b/hcid/dbus-security.c
index a4ca0dbd..57891afe 100644
--- a/hcid/dbus-security.c
+++ b/hcid/dbus-security.c
@@ -617,6 +617,14 @@ done:
return call_passkey_agent(conn, agent, dev, path, sba, dba);
}
+int handle_confirm_request(DBusConnection *conn, int dev, const char *path,
+ bdaddr_t *sba, bdaddr_t *dba, const char *pin)
+{
+ hci_send_cmd(dev, OGF_LINK_CTL, OCF_PIN_CODE_NEG_REPLY, 6, dba);
+
+ return -1;
+}
+
static void send_cancel_request(struct pending_agent_request *req)
{
DBusMessage *message;