commit | ae098bfb357f5a5571a95235658f6db7ac9bfa58 | [log] [tgz] |
---|---|---|
author | zhenchao <zhenchao@codeaurora.org> | Fri Jan 10 18:19:02 2020 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Feb 25 20:33:14 2020 -0800 |
tree | ead78549c6e790a5b68b2c4fd210287513e194ab | |
parent | ecbdf8a0dc059ab28d97fcdf060aaeed234fac08 [diff] |
HFP: move sco sm to OPENNING only if initiate SCO connection to peer (2/2) If peer device is not active device, bta_ag_create_sco will not initate sco connection to peer, but return directly. As a result, bta ag sco or bta twsp sco SM will block in OPENNING state. To avoid this issue, move sco sm to OPENNING only if initate SCO connection to peer. Change-Id: Ifb9564fe67585f5a400b2551a2c92be4220280be