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 bindesc: Add initial support for binary descriptor definition 2023-09-28 07:39:09 -04:00
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 logging: net: changing syslog server address while running bug 2023-09-29 16:27:04 +02:00
lorawan
mem_mgmt
mgmt mgmt: mcumgr: grp: os_mgmt: Add SPARC 2023-10-03 15:14:30 +01:00
modbus modbus: add support for defining custom functions 2023-09-29 13:05:42 +02:00
modem modem: modem_pipe: Avoid inconsequential open/close calls 2023-09-30 18:47:48 +02:00
net net: coap: release non-confirmable messages 2023-10-04 11:25:16 +02:00
pm
portability kernel: Re-factor k_mem_slab definition 2023-09-30 08:04:14 +03:00
random
retention
rtio
sd sd: add check for maximum supported voltage by host controller 2023-09-29 16:29:00 +02:00
sensing
settings
shell shell: modules: kernel: add human readable uptime 2023-09-28 09:34:00 +02:00
sip_svc
stats
storage
task_wdt
testsuite
timing
tracing kernel: rename z_current_get() to k_sched_current_thread_query() 2023-09-28 16:15:46 +02:00
usb usb: host: usbh_ch9: add ASSERT for unresolved data stage conditions 2023-10-01 09:26:07 +03:00
zbus
CMakeLists.txt llext: Linkable loadable extensions 2023-09-29 20:50:38 -04:00
Kconfig llext: Linkable loadable extensions 2023-09-29 20:50:38 -04:00