Commit 0f2b59a9 authored by Dmitry Antipov's avatar Dmitry Antipov Committed by Jeff Johnson
Browse files

wifi: ath9k: do not submit zero bytes to the entropy pool



In 'ath_cmn_process_fft()', it doesn't make too much sense to
add zero bytes in attempt to improve randomness. So swap calls
to 'memset()' and 'add_device_randomness()' to feed the pool
with actual FFT results rather than zeroes. Compile tested only.

Signed-off-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
Fixes: 2aa56cca ("ath9k: Mix the received FFT bins to the random pool")
Acked-by: default avatarToke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20250123141058.1696502-1-dmantipov@yandex.ru


Signed-off-by: default avatarJeff Johnson <jeff.johnson@oss.qualcomm.com>
parent dfffb317
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment