Commit 19d452a9 authored by Chih-Kang Chang's avatar Chih-Kang Chang Committed by Greg Kroah-Hartman
Browse files

wifi: rtw89: add crystal_cap check to avoid setting as overflow value



[ Upstream commit 7b98caea ]

In the original flow, the crystal_cap might be calculated as a negative
value and set as an overflow value. Therefore, we added a check to limit
the calculated crystal_cap value. Additionally, we shrank the crystal_cap
adjustment according to specific CFO.

Signed-off-by: default avatarChih-Kang Chang <gary.chang@realtek.com>
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241128055433.11851-7-pkshih@realtek.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 96fae5bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment