]> www.infradead.org Git - users/dwmw2/linux.git/commit
mt76: mt7615: fix max_nss in mt7615_eeprom_parse_hw_cap
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 7 Feb 2020 10:29:51 +0000 (11:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:53:00 +0000 (16:53 -0500)
commit89ff861a95400c1021cebcc969e6550a1426cfac
treec149be84a7537fdcc7ddef48868b4ac6a226ed63
parent70b57bf5023c334ce6ec03575b2ff80ff081b63a
mt76: mt7615: fix max_nss in mt7615_eeprom_parse_hw_cap

commit d08f3010f4a32eec3c8aa771f03a1b342a1472fa upstream.

Fix u8 cast reading max_nss from MT_TOP_STRAP_STA register in
mt7615_eeprom_parse_hw_cap routine

Fixes: acf5457fd99db ("mt76: mt7615: read {tx,rx} mask from eeprom")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c