Re: [PATCH] mt7601u: remove warning when avg_rssi is zero

2018-06-11 Thread Jakub Kicinski
On Sat, 9 Jun 2018 12:10:44 +0200, Stanislaw Gruszka wrote: > 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") >

Re: [PATCH] mt7601u: remove warning when avg_rssi is zero

2018-06-09 Thread Adam Borowski
On Sat, Jun 09, 2018 at 12:10:44PM +0200, Stanislaw Gruszka wrote: > 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_r

[PATCH] mt7601u: remove warning when avg_rssi is zero

2018-06-09 Thread Stanislaw Gruszka
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 Signed-off-by: Stanislaw Gruszka --- driv