zephyr/subsys/bluetooth
Mateusz Kapala 7a1b194a97 bluetooth: host: smp: Add runtime check for central-specific path
Added run-time BT_CENTRAL role check for the path that was
central specific and did not have such check.

When multi-role BT device tried to pair without bonding (peripheral role)
while already previously bonded with the same device on another
Bluetooth identity, pairing failed.
It executed central-specific code, which should not be executed in case
when the device acts as peripheral (as it is even opt-out from code when
CONFIG_BT_CENTRAL is not enabled).

Signed-off-by: Mateusz Kapala <mateusz.kapala@nordicsemi.no>
2023-10-04 14:53:26 +01:00
..
audio
common
controller Bluetooth: Controll: Fix dead code in ll_setup_iso_path 2023-10-04 14:52:54 +01:00
crypto
host bluetooth: host: smp: Add runtime check for central-specific path 2023-10-04 14:53:26 +01:00
lib
mesh
services
shell
CMakeLists.txt
Kconfig
Kconfig.adv
Kconfig.iso
Kconfig.logging