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

Skip to content
Commit 4ca22cd4 authored by Brian Delwiche's avatar Brian Delwiche
Browse files

Fix premature GATT DB lookup

As part of a change made to support Robust Caching, our code makes an
early query against the peer's GATT database hash characteristic,
skipping the check only when the peer is known not to support Robust
Caching. However, the check is still made even on initial connection,
when the peer's support for Robust Caching is unknown and no database
entry exists for it.

Skip the check if the peer's support is unknown.

Bug: 295365121
Bug: 317128464
Test: atest net_test_stack_gatt
Change-Id: I0d3e406b0ce70edd11cdab0bb355cc448e40fed7
parent 9bae1793
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