From: Ching-Te Ku Two unrelated enumerations describe a BT antenna switch type. The one the RTL8922D antenna configuration uses numbers the absent switch as zero and the internal switch as one, while the older one numbers the internal switch as zero. The shared 2-antenna case picked the internal value from the older enumeration, so it stored zero and claimed no switch at all. A BT whose switch type says there is no switch is treated as not sharing an antenna with the WL RF-path that the other RF-path shares with it, which drops the cross-talk entry for that path. Store the value from the enumeration this field is read with. The 1-antenna and 3-antenna cases in the same function already do. Signed-off-by: Ching-Te Ku Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/rtw8922d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtw89/rtw8922d.c b/drivers/net/wireless/realtek/rtw89/rtw8922d.c index 7ac15a5d949a..271a92123158 100644 --- a/drivers/net/wireless/realtek/rtw89/rtw8922d.c +++ b/drivers/net/wireless/realtek/rtw89/rtw8922d.c @@ -3305,7 +3305,7 @@ static void rtw8922d_btc_set_rfe(struct rtw89_dev *rtwdev) if (is_bt_share) { /* WL-S0 + (WL-S1 & BT0-S1) */ md->ant.type = BTC_ANT_SHARED; md->bt0_pos = BTC_BT_BTG; - md->bt0_sw_type = BTC_SWITCH_INTERNAL; + md->bt0_sw_type = BTC_SWITCH_V1_INTERNAL; dm->ant_xmap[BTC_RF_S1][BTC_BT_1ST] = 1; } else { /* WL-S0 + BT0-S1 */ md->ant.type = BTC_ANT_DEDICATED; -- 2.25.1