From b944b75c85b5639fef6376c873c672ee033f18ea Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 7 Oct 2008 09:59:29 +0200 Subject: Fix bonding process state tracking for auto-accept case Without this fix the temporary flag was never cleared (for the auto-accept case) and so the device was incorrectly removed at the end of the bonding process. --- src/dbus-hci.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dbus-hci.c') diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 3867d6ea..4ba5e129 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -450,6 +450,9 @@ int hcid_dbus_user_confirm(bdaddr_t *sba, bdaddr_t *dba, uint32_t passkey) hci_close_dev(dd); + auth = adapter_new_auth_request(adapter, dba, AUTH_TYPE_CONFIRM); + auth->replied = TRUE; + return 0; } -- cgit