OSDN Git Service

Fix random crashes in HID related code
authorJakub Pawlowski <jpawlowski@google.com>
Mon, 24 Oct 2016 22:00:12 +0000 (15:00 -0700)
committerJakub Pawlowski <jpawlowski@google.com>
Tue, 25 Oct 2016 00:03:26 +0000 (17:03 -0700)
commite318faa73ad68df4cb344e7bcd4ad087a548e8ee
tree3495d4206ad756c71231918f2e7a4d645a7c7a5e
parent667e1fe3d7ccc6e2ce11781443f36fc10e47d9a3
Fix random crashes in HID related code

Operation on characteristics/descriptors shouldn't access GATT database
when it's executed. This could happen while service rediscovery is in
progress.

Bug: 32240759
Test: connect to HID device
Change-Id: Ie2b6e6b451456204b1cea1e500df9a0ff949a9ef
(cherry picked from commit d8f09d077d9017a522c17f4b9a49328b0ed3e91e)
bta/hh/bta_hh_le.c