commit | 92963318a255fd5df94159767cd4750e55d98cb0 | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Sat Jun 09 12:10:44 2018 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Sun Jun 24 20:01:38 2018 +0300 |
tree | 2bd25627220e95fdff54152d8842d4890412ea80 | |
parent | f8c095f679625a26efc7bb1b8c4b3c6fcaef4633 [diff] |
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>