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
Loading
Please register or sign in to comment