Commit d08f3010 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Kalle Valo
Browse files

mt76: mt7615: fix max_nss in mt7615_eeprom_parse_hw_cap

Fix u8 cast reading max_nss from MT_TOP_STRAP_STA register in
mt7615_eeprom_parse_hw_cap routine

Fixes: acf5457f

 ("mt76: mt7615: read {tx,rx} mask from eeprom")
Signed-off-by: default avatarLorenzo Bianconi <>
Signed-off-by: default avatarKalle Valo <>
parent ebe8e611
......@@ -92,8 +92,9 @@ static int mt7615_check_eeprom(struct mt76_dev *dev)
static void mt7615_eeprom_parse_hw_cap(struct mt7615_dev *dev)
u8 val, *eeprom = dev->;
u8 *eeprom = dev->;
u8 tx_mask, rx_mask, max_nss;
u32 val;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment