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

Skip to content
Commit a5388137 authored by Henri Chataing's avatar Henri Chataing
Browse files

RootCanal: Properly handle concurrent connection attempts

Previously, if two devices attempted to initiate a connection
simultaneously, two situations could occur:

- none of the attemps succeeds, as both have a local pending
  to the peer and the state does not allow for another pending
  connection

- one connection succeeds, but the other initiated connection
  ends with the HCI event Connect Complete (ERR_PAGE_TIMEOUT).
  This causes Android to disconnect the link afterwards.

This change adds an additional Page state to save the active
paging information. The pending connection state is reserved
for accepting remote connection requests.

Bug: 285597323
Test: atest --host rootcanal_ll_test
Change-Id: I24b469e73fbc02ed0525d712fbe4c1ac7390fb31
parent c74eee81
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