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

Skip to content
Commit bc3004ee authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

floss: Guarantee the execution order of GATT client callbacks

Originally, the callbacks are sent in an async thread, which means it
could be interrupted by the other tasks, and thus their order after
sent is not guaranteed to be the same as before.
This patch pushes the callbacks into a queue and makes sure the pop+send
operation is not interrupted, this shall guarantee the order after sent.

Bug: 348270691
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: manual test with an LE mouse and BAS works
Flag: EXEMPT, Floss-only changes
Change-Id: I5eeec16197b4d3b41e4feba9e76cd44181adefb7
parent 1853c14e
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