Bluetooth: controller: Fix return type in hal/rand.c
Fix incorrect return data type, which causes controller to
hang generating random numbers.
Fixes bug introduced in commit d90095b556
("Bluetooth:
controller: Use random numbers in adv and enc setup")
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
0b18f6dd39
commit
dc1dad34f3
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ void isr_rand(void *param)
|
|||
ARG_UNUSED(param);
|
||||
|
||||
if (NRF_RNG->EVENTS_VALRDY) {
|
||||
u8_t ret;
|
||||
int ret;
|
||||
|
||||
ret = isr(rng_isr, true);
|
||||
if (ret != -EBUSY) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue