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 20:51:45 +0000 (20:51 +0000)
commitf4835d65ed48cba61629ce7987e8cc8c0df7e0b7
treea5b988b061a001aa0d97affa5378710359cbbd85
parentff1c56c3675079b3905739abffc3a6035529a248
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
(cherry picked from commit 51fb9c0e0cfbda559bf6377c183928ae48a24629)
bta/dm/bta_dm_act.cc