mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x2: rename misnamed variable
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+3
-3
@@ -619,12 +619,12 @@ int mt76x2_get_temp_comp(struct mt76x2_dev *dev, struct mt76x2_temp_comp *t)
|
||||
|
||||
bool mt76x2_ext_pa_enabled(struct mt76x2_dev *dev, enum nl80211_band band)
|
||||
{
|
||||
u16 conf1 = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_0);
|
||||
u16 conf0 = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_0);
|
||||
|
||||
if (band == NL80211_BAND_5GHZ)
|
||||
return !(conf1 & MT_EE_NIC_CONF_0_PA_INT_5G);
|
||||
return !(conf0 & MT_EE_NIC_CONF_0_PA_INT_5G);
|
||||
else
|
||||
return !(conf1 & MT_EE_NIC_CONF_0_PA_INT_2G);
|
||||
return !(conf0 & MT_EE_NIC_CONF_0_PA_INT_2G);
|
||||
}
|
||||
|
||||
int mt76x2_eeprom_init(struct mt76x2_dev *dev)
|
||||
|
||||
Reference in New Issue
Block a user