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

Skip to content
Commit a0b0faf2 authored by Mallikarjuna GB's avatar Mallikarjuna GB Committed by Linux Build Service Account
Browse files

Limit number of HF profile reconnection attempts

Use case:
1. Pair and connect with Chrysler car kit.
2. Disconnect and unpair car kit.
3. Repeat steps 1-2.

Failure:
HFP connection failed with car kit.

Root cause:
Some carkits disconnect rfcomm channel for HF when they
are expected to start SLC. In that case since A2dp was
already connected, we retry HF connection after 6secs
which is again rejected. We keep on retrying without
letting carkit to initiate connection from its side.
This behaviour is with specific carkits Chrylser,
Continental, Peugeot 508.

Fix:
- In case SLC fails while A2dp connection is success, HF
reconnection is attempted indefinately after every 6secs
from application. In such case some remote devices cannot
initiate connection from their side. Limiting the number
of HF profile reconnection attempts to 1.

- Limits reconnection attempts for multiple hf client
connections also.

Change-Id: Ief92c2e18124f671cb9a38b91ca83986d8abe0d8
parent 66439562
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