commit | fc3fba5db90f29b072ebecc231245c8f134b594b | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Thu Mar 13 15:21:37 2014 -0700 |
committer | Zhihai Xu <zhihaixu@google.com> | Thu Mar 13 18:36:22 2014 -0700 |
tree | ff8772050d81193dc3183e1584de6c1367e6e810 | |
parent | 6ca1594d1d633a94ea237c136460017151d1d61e [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