zephyr/subsys
Michał Narajowski f62a40beb6 Bluetooth: Fix callback handling in ECC Public Key generation
Commit d6c34c4644 changed the behavior
slightly but didn't update the documentation. The callback will now be
reset to NULL once the key is generated. Calling bt_pub_key_gen()
multiple times before the key is finished would result in creation of an
infinite loop. This could happen when an application calls mesh_init()
and mesh_reset() in quick succession. Clarify the behavior of the API in
the documentation.

Also passing a NULL argument would result in an undefined behavior, so
add a check to match the behavior described in documentation.

Signed-off-by: Michał Narajowski <michal.narajowski@codecoup.pl>
2021-04-09 13:27:24 +02:00
..
bluetooth Bluetooth: Fix callback handling in ECC Public Key generation 2021-04-09 13:27:24 +02:00
canbus canbus: isotp: prevent race-condition during debugging 2021-04-06 16:44:34 -04:00
console kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
cpp
debug coccinelle: Remove extra semicolon 2021-03-25 11:35:30 -05:00
demand_paging mmu: backing stores reserve page fault room 2021-01-23 19:47:23 -05:00
dfu dfu: mcuboot: Remove definitions available via bootutil_public.h 2021-03-25 07:08:01 -04:00
disk include: move disk_access.h to storage 2021-03-23 12:16:01 +01:00
emul emul: Add an emulator for the eSPI Host 2021-01-20 17:49:19 -05:00
fb
fs fs/nvs: removed unneeded if statements 2021-03-29 13:43:55 -04:00
ipc ipc: Make log level configurable for RPMsg service and backend 2021-03-06 09:09:50 -06:00
jwt jwt: use pre-computed JWT header 2021-04-03 06:52:40 -04:00
logging log: Align the log_strdup_buf properly 2021-04-08 09:57:42 +02:00
lorawan lorawan: add callback for datarate changes 2021-02-28 16:36:57 -05:00
mgmt mgmt/mcumgr: Fixing use of k_fifo function on net buf 2021-03-29 16:13:38 -05:00
modbus subsys/modbus: Fix potential memory overwrite (coverity) 2021-04-01 04:52:10 -04:00
net net: capture: Catch sent and received packets 2021-04-02 07:24:06 -04:00
power power: Fix unbalanced scheduler lock 2021-03-31 12:09:48 -04:00
random
settings settings: Handle unhandled error 2021-02-03 08:37:11 -05:00
shell userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
stats
storage storage: remove flash_write_protection_set() usage 2021-03-29 13:43:55 -04:00
task_wdt clocks: rename z_tick_get -> sys_clock_tick_get 2021-03-19 11:22:17 -04:00
testsuite userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
timing timing: add kconfig CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT 2021-04-06 16:43:55 -04:00
tracing tracing: add RAM backend 2021-03-06 07:33:59 -05:00
usb usb/dfu: Pick DFU target image label from DTS 2021-03-30 09:01:20 -05:00
CMakeLists.txt modbus: add MODBUS RTU subsystem 2021-03-19 15:50:21 +01:00
Kconfig modbus: add MODBUS RTU subsystem 2021-03-19 15:50:21 +01:00