commit | 5e808468e0667a6a2a8a1e6de80efbc4f42fa0f0 | [log] [tgz] |
---|---|---|
author | Andre Eisenbach <eisenbach@google.com> | Tue Oct 21 12:37:53 2014 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Tue Oct 21 22:34:59 2014 -0700 |
tree | cf2f0cb6ac0167a957d0890c9f4f9ae626c0a198 | |
parent | 433fe016392c7ae003033530f1b3994f2ddad313 [diff] |
LE: Do not remove bond on encryption failure If the encryption fails during the re-connection process with a previously paired LE device, the pairing is removed. Thus, a single connection failure could lead to the device be unpaired. This patch prevents unpairing when encryption fails. Additionally, the IRK is restored from NV ram to fix reconnection to dual-mode devices. Bug: 18072300 Change-Id: I077a16d0715fdaa07b95b1c664c18bd839754896