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

Skip to content
Commit 9ddba66b authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Fix race between ASE state and CIS disconnection

ASE shall not move to Codec Configured state or Idle state back from
Streaming if CIS are connected.
However, it might happen, that ASE notification arrives faster then CIS
Disconnection Complete event, which could lead to break LeAudio state machine.
With this patch, state machine is checking CIS state, and if not yet
disconnected, the upper layer is not notified about new state until
CISes are disconnected

Bug: 255291874
Test: atest bluetooth_le_audio_test
Test: atest BluetoothInstrumentationTests
Tag: #feature
Change-Id: I577c1db4c84296a600f2c3dc168985a5498a3712
parent 180cd101
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