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

Commit 19313ddb authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Use le advertising filter vendor-specific 0x02 ANY_ADDRESS_TYPE

Bug: 188297862
Tag: #refactor
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I441e8db682f2b4ca86c01d16233c3dbc755627f8
parent 844e9816
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -531,8 +531,9 @@ static void BTM_LE_PF_addr_filter(tBTM_BLE_SCAN_COND_OP action,
     * cover if the RPA is derived from RANDOM STATIC.
     */
    /* ALWAYS FORCE 2 for this vendor command! */
    addr.type = 0x02;  // Really, you will break scanning if you change this.
    UINT8_TO_STREAM(p, addr.type);
    uint8_t addr_type =
        0x02;  // Really, you will break scanning if you change this.
    UINT8_TO_STREAM(p, addr_type);
  }

  /* send address filter */