]> 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)
commit4b25c638669e6aa399cd435dc67ca883401e0a2f
tree2f568842216812a1feee4b15a84da4efbe0f93b4
parent19394556662678d0dea76059e166b1e6789af694
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: 05ad56c2ec75 ("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