zephyr/subsys/bluetooth
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
..
audio Bluetooth: audio: Changed VOCS to use ENOTSUP instead of EOPNOTSUPP 2021-03-26 15:32:43 -04:00
common bluetooth: Allow immediate logging with software-based LL 2020-09-04 18:48:32 +02:00
controller Bluetooth: controller: Fix minor typo in Periodic Sync PHY 2021-04-06 13:52:14 +02:00
host Bluetooth: Fix callback handling in ECC Public Key generation 2021-04-09 13:27:24 +02:00
mesh Bluetooth: Mesh: Introduce acknowledged message API 2021-04-08 13:44:24 +02:00
services Bluetooth: services: Fix ID check for bt_gatt_ots_obj_manager_obj_get 2021-03-30 11:01:06 -04:00
shell Bluetooth: Use ATT FIRST/LAST attribute handle defines where applicable 2021-04-08 16:35:57 +02:00
CMakeLists.txt Bluetooth: Audio: Volume Offset Control Service and Client 2021-03-22 13:05:56 -04:00
Kconfig Bluetooth: remove CONFIG_BT_CTLR_TO_HOST_UART_DEV_NAME 2021-03-29 16:33:51 +02:00