Parent: 3e55476bf6c8ed4180d6cc70ff7cde524e6f1bfa
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-10-02 22:27:12
Tree: a2891a1a88ddaa4c045252067498f4e52bd43cee
device: Fix privacy In order for devices to properly be programmed into the adapter resolving list they need to set the flag DEVICE_FLAG_ADDRESS_RESOLUTION but that is only done if device_address_is_private return true but currently it doesn't check the rpa flag which indicates that the address has been updated to its identity. While at it this also update the rpa flag to privacy to better indicate the feature rather than just the address type and then introduces device_set_privacy/device_get_privacy and replaces the usage of device_address_is_private with device_get_privacy whenever the features itself needs to be checked, rather than the current address type in use. Fixes: https://github.com/bluez/bluez/issues/1079
Diffstat
| M | src/adapter.c | | | 4 | ++- - |
| M | src/device.c | | | 16 | ++++++++++++- - - - |
| M | src/device.h | | | 3 | ++- |
3 files changed, 16 insertions(+), 7 deletions(-)