zephyr/subsys/bluetooth/controller/hci
Joakim Andersson 291ebdd4e4 Bluetooth: Fix infinite recursion in host-based bt_rand
Fix infinite recursion in host-based bt_rand function. This would call
HCI LE Random Number command, which would in turn call bt_rand, causing
an infinite recursion.

bt_rand -> prng_reseed -> BT_HCI_OP_LE_RAND -> le_rand -> bt_rand

To solve this issue the controller should avoid doing calls into the
host, so all calls to bt_rand in the controller should be replaced with
a call to a controller function.

Fixes #22202

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-01-31 18:33:06 +01:00
..
nordic include: bluetooth: define hci macro for nRF53 2019-11-08 19:26:35 +01:00
openisa bluetooth: controller: openisa/RV32M1: BLE Link Layer ULL/LLL split 2019-11-08 15:38:57 +01:00
hci.c Bluetooth: Fix infinite recursion in host-based bt_rand 2020-01-31 18:33:06 +01:00
hci_driver.c Bluetooth: Change remote version event from prio to normal event type 2019-12-23 14:47:31 +02:00
hci_internal.h Bluetooth: Change remote version event from prio to normal event type 2019-12-23 14:47:31 +02:00
hci_user_ext.h