mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
wifi: rtw89: phy: ignore DCFO if not defined in chip_info
For WiFi 7 chips, DCFO (digital carrier frequency offset) feature isn't supported, so the corresponding registers aren't defined in chip_info. Check and ignore this feature accordingly. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20251114060128.35363-9-pkshih@realtek.com
This commit is contained in:
parent
9df55e8d41
commit
5607a141bf
|
|
@ -4608,7 +4608,7 @@ static void rtw89_dcfo_comp(struct rtw89_dev *rtwdev, s32 curr_cfo)
|
|||
s32 dcfo_comp_val;
|
||||
int sign;
|
||||
|
||||
if (rtwdev->chip->chip_id == RTL8922A)
|
||||
if (!dcfo_comp)
|
||||
return;
|
||||
|
||||
if (!is_linked) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user