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

Skip to content
Commit 3a768eaf authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Fix possible double MTU request

It might happen, that profile is notified twice about encryption beeing completed.
One from  the callback set in BTM_SetEncryption and second from the GATT
Callback.

It does not happen always, but if happen it  could lead to situation that in the
OnEncryptionComplete callback code is doing double MTU request and CCC
registration.

This patch fixes that.

Bug: 255930205
Test: atest BluetoothInstrumentationTests
Test: manual multiple reconnection of Le Audio device.
Tag: #feature
Change-Id: Ib947e1dbd24a819a011a38c16c7ddde1dca8bc18
parent c3bffe09
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