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

Skip to content
Commit 784d750b authored by Rahul Arya's avatar Rahul Arya
Browse files

Avoid out-of-order L2CAP CoC callbacks on channel creation

When L2CA_ConnectLECocReq is called and starts the channels state
machine, we do so synchronously. If the state machine experiences a
failure and invokes a callback, it does so again synchronously, so the
failure callback arrives *before* the connection request completes.

By deferring the state transition until after the connect request
returns, we fix the order of events.

Bug: 258223088
Test: TODO
Change-Id: I698c0e5e514485b9af8e21f136b5aa7c918a6d4c
parent d88bbb46
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