zephyr/subsys
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
..
bindesc
bluetooth bluetooth: host: smp: Add runtime check for central-specific path 2023-10-04 14:53:26 +01:00
canbus
console
debug kconfig: Remove MP_NUM_CPUS usage 2023-10-03 17:45:53 +01:00
demand_paging
dfu
disk
dsp
emul
fb
fs
input
ipc
jwt
llext LLEXT: Make max size in shell configurable 2023-10-03 15:17:39 +01:00
logging
lorawan
mem_mgmt
mgmt mgmt: mcumgr: grp: os_mgmt: Add SPARC 2023-10-03 15:14:30 +01:00
modbus
modem
net net: coap: release non-confirmable messages 2023-10-04 11:25:16 +02:00
pm
portability
random
retention
rtio
sd
sensing
settings
shell
sip_svc
stats
storage
task_wdt
testsuite
timing
tracing
usb
zbus
CMakeLists.txt
Kconfig