diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2018-06-09 13:10:44 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-24 20:01:38 +0300 |
commit | 92963318a255fd5df94159767cd4750e55d98cb0 (patch) | |
tree | 2bd25627220e95fdff54152d8842d4890412ea80 /drivers/net/wireless/realtek | |
parent | f8c095f679625a26efc7bb1b8c4b3c6fcaef4633 (diff) | |
download | linux-92963318a255fd5df94159767cd4750e55d98cb0.tar.xz |
mt7601u: remove warning when avg_rssi is zero
It turned out that we can run calibration without already received
frames with RSSI data. In such case just don't update AGC register
and don't print the warning.
Fixes: b305a6ab0247 ("mt7601u: use EWMA to calculate avg_rssi")
Reported-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek')
0 files changed, 0 insertions, 0 deletions