]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: 8822c: fix lc calibration timing
authorPo-Hao Huang <phhuang@realtek.com>
Mon, 26 Apr 2021 01:32:52 +0000 (09:32 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 22 Jun 2021 15:18:16 +0000 (18:18 +0300)
commit2891e488dd15b4234315ad8d6b096c92adeded30
tree2f568842216812a1feee4b15a84da4efbe0f93b4
parent52a7f22361b01b4943538312131ebcc9b621482b
rtw88: 8822c: fix lc calibration timing

Before this patch, we use value from 2 seconds ago to decide
whether we should do lc calibration.
Although this don't happen frequently, fix flow to the way it should be.

Fixes: 637f3ae08209 ("rtw88: 8822c: add LC calibration for RTL8822C")
Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210426013252.5665-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8822c.c