diff options
author | Stanislaw Gruszka <[email protected]> | 2019-08-19 13:20:07 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2019-08-20 16:59:22 +0300 |
commit | 95844124385eae4bd9ca5f9514a0fc33d561ac3c (patch) | |
tree | 4a0382e87f8851fbed3a386ded5da95a965aba7b /tools/perf/util/c++/clang-test.cpp | |
parent | 8f2d163cb26da87e7d8e1677368b8ba1ba4d30b3 (diff) |
rt2x00: clear IV's on start to fix AP mode regression
To do not brake HW restart we should keep initialization vectors data.
I assumed that on start the data is already initialized to zeros, but
that not true on some scenarios and we should clear it. So add
additional flag to check if we are under HW restart and clear IV's
data if we are not.
Patch fixes AP mode regression.
Reported-and-tested-by: Emil Karlson <[email protected]>
Fixes: 710e6cc1595e ("rt2800: do not nullify initialization vector data")
Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions