OSDN Git Service

Clear identity bit when passing address to filter
authorJakub Pawlowski <jpawlowski@google.com>
Fri, 19 Nov 2021 11:10:52 +0000 (12:10 +0100)
committerJakub Pawlowski <jpawlowski@google.com>
Fri, 19 Nov 2021 11:23:24 +0000 (12:23 +0100)
commita3eec6ddb6ae5c393f5b99398862e02ff0cb0682
tree6618dec74e331e956d4d4ff516aa9e3d9c93ad6a
parenta09a00593ef73c0dbd4fd04024eb1de47d6045c3
Clear identity bit when passing address to filter

Legacy stack kept Identity Address Type without the identity bit set.
It is later passed without any masking to "Add to accept list", "add to
resolving list", and VSC filter command. All these commands specify that
the identity bit should not be set in related specifications.

Test: manual test with DCK application
Bug: 201255908
Change-Id: Id68e81a6706ac40d7394e2803ec3339a7bc44a0a
stack/btm/btm_ble_adv_filter.cc