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

Commit 8f391ea8 authored by Ugo Yu's avatar Ugo Yu
Browse files

Fix wrong UUID mask when doing BLE filter scan

bug: 112350218
Test: manual
Change-Id: I9e4297b936e7a7db164e7ff3bf680c43600c5bda
parent 1e0870f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -578,7 +578,7 @@ void BTM_LE_PF_uuid_filter(tBTM_BLE_SCAN_COND_OP action,
        UINT32_TO_STREAM(p, uuid_mask.As32Bit());
        len += Uuid::kNumBytes32;
      } else if (uuid_len == Uuid::kNumBytes128) {
        const auto& tmp = uuid.To128BitLE();
        const auto& tmp = uuid_mask.To128BitLE();
        ARRAY_TO_STREAM(p, tmp.data(), (int)Uuid::kNumBytes128);
        len += Uuid::kNumBytes128;
      }