zephyr/subsys/random
Ramakrishna Pallala a895d21d63 subsys: random: Fix semaphore initial count of xoroshiro128
Semaphore state_sem initial count is set to 0 but k_sem_give()
is invoked first in sys_rand32_get() which will block the caller
forever.

Fix the issue by setting the initail count to count_limit.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2017-11-15 15:47:10 -06:00
..
CMakeLists.txt
Kconfig
rand32_entropy_device.c
rand32_timer.c
rand32_timestamp.c
rand32_xoroshiro128.c subsys: random: Fix semaphore initial count of xoroshiro128 2017-11-15 15:47:10 -06:00