Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 59204e4b authored by Kapil Gupta's avatar Kapil Gupta
Browse files

Remove incoming HFP connection if outgoing exists

If head-unit and phone request the HFP connection at the same time,
the incoming HFP port is opened and it tries to allocate a new
control block which is failed due to an already existing one for
outgoing HFP connection. Then BTA_HF_CLIENT_RFC_CLOSE_EVT message
is sent with handle 0 which is not handled to close the incoming
HFP port. This is the reason that ACL is not disconnected while
disconnecting BT.

Therefore, incoming HFP Rfcomm connection is removed if outgoing
HFP connection exist.

Bug: 173464597
Test: Manual
Change-Id: I4bc9a99a5ff5bc9268ead3f5d25ff84c9c0243a1
parent 2ea11bdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment