commit | b9238669b5ad298980d60540e8019c4b90a866b1 | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Thu Mar 13 15:21:37 2014 -0700 |
committer | Zhihai Xu <zhihaixu@google.com> | Wed Apr 16 12:00:38 2014 -0700 |
tree | ff3353b08cc8cc1217721eef47c9dbeb581e224f | |
parent | 52c0ccbb6b4f1de8a4b1e63901b55d94dff32310 [diff] |
treat BTA_BUSY as success to avoid unpair the BLE device when switch from peripheral mode, both server and client will call btif_gatt_check_encrypted_link, the first call will start the encryption. the second call will get callback with BTA_BUSY status, before encryption complete, which cause unpair with the remote device. we shouldnot treat BTA_BUSY as error. bug:13417692 Change-Id: I065432dde2553e8ccee3a14a7b321b85bca8d3ba