Skip to content

Commit e7f3a91

Browse files
PavelVPVjukkar
authored andcommitted
[nrf noup] bluetooth: host: Allow auto swap feature without privacy
Allow to use CONFIG_BT_ID_AUTO_SWAP_MATCHING_BONDS Kconfig option even if CONFIG_BT_PRIVACY is disabled. This is because CONFIG_BT_PRIVACY configures privacy of local device will still allows to resolve peer address. During pairing, peer device may send its Identity Address and IRK which then can be used for address resolution. This doesn't require CONFIG_BT_PRIVACY be enabled. nrf-squash! [nrf noup] bluetooth: host: Add support for bonding with same peer Signed-off-by: Pavel Vasilyev <[email protected]> (cherry picked from commit c1ddd14)
1 parent b05c3a1 commit e7f3a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ config BT_ID_UNPAIR_MATCHING_BONDS
661661
config BT_ID_AUTO_SWAP_MATCHING_BONDS
662662
bool "Automatically swap conflicting entries in the Resolving List"
663663
depends on !BT_ID_UNPAIR_MATCHING_BONDS
664-
depends on BT_PRIVACY && BT_PERIPHERAL && !BT_CENTRAL
664+
depends on BT_SMP && BT_PERIPHERAL && !BT_CENTRAL
665665
help
666666
If this option is enabled, the Host will not add a new bond with
667667
the same peer address (or IRK) to the Resolving List if there is

0 commit comments

Comments
 (0)