diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-08-27 11:29:50 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2024-09-06 11:14:37 +0200 |
commit | 6ea13e6bd2af76e9e4de4534d9ac5500fb3266ba (patch) | |
tree | e69e7527759eec4eabd624b65236a3c32410a81d /drivers/net/wireless | |
parent | wifi: mt76: mt7603: fix reading target power from eeprom (diff) | |
download | linux-6ea13e6bd2af76e9e4de4534d9ac5500fb3266ba.tar.xz linux-6ea13e6bd2af76e9e4de4534d9ac5500fb3266ba.zip |
wifi: mt76: mt7603: initialize chainmask
Fixes reported tx power by accounting for the combined output
Link: https://patch.msgid.link/20240827093011.18621-3-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c b/drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c index d951cb81df83..f5a6b03bc61d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c +++ b/drivers/net/wireless/mediatek/mt76/mt7603/eeprom.c @@ -181,6 +181,7 @@ int mt7603_eeprom_init(struct mt7603_dev *dev) is_mt7688(dev)) dev->mphy.antenna_mask = 1; + dev->mphy.chainmask = dev->mphy.antenna_mask; mt76_eeprom_override(&dev->mphy); return 0; |