commit | 7723c29824ed6e8fc5b97efb6c5a18a72838f859 | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Mon Mar 03 12:50:13 2014 -0800 |
committer | Zhihai Xu <zhihaixu@google.com> | Wed Apr 16 12:02:53 2014 -0700 |
tree | 4c985471a70bfb29ba0279dbfa9b2c955b0807b0 | |
parent | facc510f94c02440e9004f31110463cd1d367221 [diff] |
open GATT client didn't reserve the BLE link if open after connected. need to reserve the BLE link to avoid BLE disconnection. BTA_GATTC_OPEN_ERROR won't resereve the BLE link usage. use BTA_GATTC_OPEN instead of BTA_GATTC_OPEN_ERROR to reserve the BLE link. other the stack disconnect the BLE link due to no Gatt interface use this connection. bug:13228455 Change-Id: I1f9daa2171668f2ae535d998b401f1f0825d0451