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

Skip to content
Commit d7096be8 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Android Build Coastguard Worker
Browse files

leaudio: Fix data path removal when ACL disconnect event arrives first

Even on the controller side, Disconnect Event for CIS arrives before
Disconnect Event for ACL, it might happen that on the profile layer,
those events will come in different order.
It happens usually when GATT layer decides to notify profile and ACL
disconnection before it actually happens e.g. on GATT response timeout.

Stack already handles removing CIS from the streaming in such a case,
but datapath was not removed.

This patch fixes that.

Bug: 355767463
Flag: Exempt, regression verified with unit tests, new test added
Test: atest bluetooth_le_audio_test
(cherry picked from https://android-review.googlesource.com/q/commit:82525286810e81e7d2fbf1606e83b3abd5616664)
Merged-In: I36e342e8fb246b941e6454c321f19b2bb86a1241
Change-Id: I36e342e8fb246b941e6454c321f19b2bb86a1241
parent 014cc34c
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