mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move chainmask back to driver specific structs
Nothing in the core uses it Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev)
|
||||
if (!tx_mask || tx_mask > max_nss)
|
||||
tx_mask = max_nss;
|
||||
|
||||
dev->mt76.chainmask = tx_mask << 8 | rx_mask;
|
||||
dev->chainmask = tx_mask << 8 | rx_mask;
|
||||
dev->mt76.antenna_mask = BIT(tx_mask) - 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user