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
Loading
Please register or sign in to comment