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

Skip to content
Commit 24be0a16 authored by Zach Johnson's avatar Zach Johnson
Browse files

Fix error introduced in Ica18fd19ecf6718c88b9f24ba99a290a7abdaf99

Before:

if (bta_dm_search_cb.uuid_to_search == 0 ||
            bta_dm_search_cb.service_index != BTA_BLE_SERVICE_ID)

After:
if (bta_dm_search_cb.service_index != BTA_BLE_SERVICE_ID)

bta_dm_search_cb.uuid_to_search was always 0, so it should the old code
was effectively

if (true || ...)

so it should have not had a conditional at all

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Iddbd0b51b26711e2bc576e3d5499932fab434363
parent 65ab8951
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