From ee47b8948cf78f2dd3f9c1ee94916cec5387481d Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 10 Jun 2008 12:55:28 +0000 Subject: Store hci status in authentication complete case --- hcid/dbus-hci.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index f969b81a..89ab956d 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -1193,9 +1193,12 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, return; } - if (status) + if (status) { + if (adapter->bonding) + adapter->bonding->hci_status = status; cancel_passkey_agent_requests(adapter->passkey_agents, adapter->path, peer); + } l = g_slist_find_custom(adapter->pin_reqs, peer, pin_req_cmp); if (!l) { -- cgit