diff options
| author | Dmitry Antipov <dmantipov@yandex.ru> | 2025-01-23 17:10:58 +0300 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-01-29 19:56:33 +0300 |
| commit | 0f2b59a98027a781eee1cbd48c7c8fdf87cb73f6 (patch) | |
| tree | 9ea3958dd2dddf1bd1978807148622740bd8d425 /tools/perf/scripts/python/gecko.py | |
| parent | dfffb317519f88534bb82797f055f0a2fd867e7b (diff) | |
| download | linux-0f2b59a98027a781eee1cbd48c7c8fdf87cb73f6.tar.xz | |
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: Dmitry Antipov <dmantipov@yandex.ru>
Fixes: 2aa56cca3571 ("ath9k: Mix the received FFT bins to the random pool")
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20250123141058.1696502-1-dmantipov@yandex.ru
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
