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

Skip to content
Commit 4709934d authored by Sungsoo Lim's avatar Sungsoo Lim Committed by Jack He
Browse files

Prevent an infinite waiting of ACL connection to drain

There is a case that BTM_GetNumAclLinks > 0, but
force_disconnect_all_acl_connections() == false. In that case,
bta_dm_wait_for_acl_to_drain_cback() is not called twice, and it
enters infinite waiting. This CL prevents the infinite waiting.

Bug: 208477587
Tag: #refactor
Test: atest CtsBluetoothTestCases bluetooth_test_gd_unit
Change-Id: Ife1891f99a085a9ddefeed63b9b807827f963ccb
parent a12d6b4f
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