OSDN Git Service

Reduce error conditions which cause link key deletion on auth complete
authorAndre Eisenbach <eisenbach@google.com>
Wed, 19 Jul 2017 22:33:07 +0000 (15:33 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 21 Jul 2017 01:06:17 +0000 (01:06 +0000)
commit51fb9c0e0cfbda559bf6377c183928ae48a24629
tree161fe3caa4376c02cb40feb79a38ed831b4ce1ad
parent5154ea8a5cb19b0d0991b5bb44a85ca7ee9ef10d
Reduce error conditions which cause link key deletion on auth complete

This inverts previous conditions which attempt to limit what error
conditions cause link key deletion and instead of excluding error codes
it provides a shorter list of codes which actually DO cause link key
deletion.

As a result, temporary failures caused by page timeouts, random
disconnects etc. should no longer cause link key deletion by accident.

Fixes: 63507123
Test: manual
Change-Id: I8d51403b8d233a3c335313b8f257a562c3d01109
bta/dm/bta_dm_act.cc