From 51382802f433d7ce6ee1d5ceeeb1d90d543d0e6d Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 13 Jan 2009 15:06:46 +0200 Subject: Fix new pairing detection with SSP Propagate old and new link key type info to dbus-hci.c so it can know whether this is a new pairing or not. --- src/dbus-hci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dbus-hci.h') diff --git a/src/dbus-hci.h b/src/dbus-hci.h index 515823c2..7481522e 100644 --- a/src/dbus-hci.h +++ b/src/dbus-hci.h @@ -45,7 +45,8 @@ int hcid_dbus_set_io_cap(bdaddr_t *local, bdaddr_t *remote, int hcid_dbus_user_confirm(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey); int hcid_dbus_user_passkey(bdaddr_t *sba, bdaddr_t *dba); int hcid_dbus_user_notify(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey); -void hcid_dbus_link_key_notify(bdaddr_t *local, bdaddr_t *peer); +void hcid_dbus_link_key_notify(bdaddr_t *local, bdaddr_t *peer, + uint8_t key_type, uint8_t old_key_type); DBusMessage *new_authentication_return(DBusMessage *msg, uint8_t status); -- cgit