diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-07 09:59:29 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-07 09:59:29 +0200 |
commit | b944b75c85b5639fef6376c873c672ee033f18ea (patch) | |
tree | 44981be8a732cc763b38d3cb0059d1827c297ede /src/dbus-hci.c | |
parent | 97cfec2fc4f207491f5de8cc3169f0e9094f05db (diff) |
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.
Diffstat (limited to 'src/dbus-hci.c')
-rw-r--r-- | src/dbus-hci.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |