-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PAN: Fix disconnect stuck issue during multi device use case.
Precondition: Enable BT Tethering on peer devices Use case: 1) DUT has been paired with 3 phones 2) After pair go to first device details 3) Enable Internet access to initiate PANU connection 4) After successful connection with first peer 5) Go to second devices details enable internet access 6) Repeat above steps multiple times Observed result: Received disconnected call back on the wrong(Connected) device. So, in UI for disconnecting device, showing status as Disconnecting until BT reset. Fix: During back to back calls of connect and disconnection sometimes there is a chance of duplicate handles inside btpan_conn_t So, retrieve btpan connection instance using bt address which is unique instead of close handle, so that DUT always can send proper device during connection state callback and to initiate proper cleanup during close connection. CRs-Fixed: 2685265 Change-Id: If424e02ae67e6252fca8f5ad742543a6bb632114
- Loading branch information
Sravan voleti
authored and
nshrivas
committed
Jun 10, 2020
1 parent
2a3136f
commit 021b7b6
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters