diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-10 12:55:28 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-06-10 12:55:28 +0000 |
commit | ee47b8948cf78f2dd3f9c1ee94916cec5387481d (patch) | |
tree | 92c03b5cf08ea2d289a17695533baf7410066de3 /hcid | |
parent | 52d56d7260d763c7873ba550dac8cb4914bdd2fc (diff) |
Store hci status in authentication complete case
Diffstat (limited to 'hcid')
-rw-r--r-- | hcid/dbus-hci.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |