OSDN Git Service

HFP: Fix ACL collision handling and WBS update
authorJack He <siyuanh@google.com>
Fri, 25 May 2018 01:59:13 +0000 (18:59 -0700)
committerJack He <siyuanh@google.com>
Fri, 25 May 2018 23:33:34 +0000 (23:33 +0000)
commit1c2fdca5d71a73787b365781d299c7b603d8c1dd
tree506e0925af48e1267f9c1ff891035ab9973a6eba
parenta0f3fa4b3862159f2f909d5640a8ede902300068
HFP: Fix ACL collision handling and WBS update

* Correctly set control block handle when passing WBS event data to
  upstream
* Correctly reject local outgoing connection when a colliding incoming
  connection is connected to RFCOMM
* Add more logging to help with future debugging

Bug: 80251999
Test: connect HFP devices rapidly and toggle Bluetooth rapidly
      testplans/details/166812/3975
Change-Id: I90616d70335ca68c40251fb722146924c4801cbe
bta/ag/bta_ag_act.cc
bta/ag/bta_ag_rfc.cc