Commit ae098bfb authored by zhenchao's avatar zhenchao Committed by Gerrit - the friendly Code Review server
Browse files

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
parent ecbdf8a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment