Skip to contentSkip to conversation

mt76x2: fix tssi initialization for 5GHz band

PATCH In review Lorenzo Bianconi 3 participants 3 messages Apr 3, 2018 – Apr 24, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw

PATCH 1/1 mt76x2: fix tssi initialization for 5GHz band

In reply to a message not in the archive

Fix mcu initial configuration for tssi calibration on 5GHz band

Fixes 7bc04215a66b ("mt76: add driver code for MT76x2e")
---
 drivers/net/wireless/mediatek/mt76/mt76x2_phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt76x2_phy.c +1 -1
index fcc37eb7ce0b..f28c55746cea 100644
@@ -180,7 +180,7 @@ mt76x2_phy_tssi_init_cal(struct mt76x2_dev *dev)
 	if (mt76x2_channel_silent(dev))
 		return false;
 
-	if (chan->band == NL80211_BAND_2GHZ)
+	if (chan->band == NL80211_BAND_5GHZ)
 		flag |= BIT(0);
 
 	if (mt76x2_ext_pa_enabled(dev, chan->band))
Signature · 1 line
2.14.3
#3 lore raw
In reply to Lorenzo Bianconi
Quoted 5 lines · Lorenzo Bianconi

Fix mcu initial configuration for tssi calibration on 5GHz band

Fixes 7bc04215a66b ("mt76: add driver code for MT76x2e")

Patch applied to wireless-drivers-next.git, thanks.

2cb161094ef9 mt76x2: fix tssi initialization for 5GHz band

Signature · 3 lines
https://patchwork.kernel.org/patch/10321335/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches