mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
wifi: mt76: mt76x0u: report firmware version through ethtool
Run mt76x02_set_ethtool_fwver utility routine in mt76x0u_load_firmware() in order to report firmware version through ethtool Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
committed by
Felix Fietkau
parent
c2b9fb63cc
commit
c625b2c849
@@ -148,6 +148,7 @@ static int mt76x0u_load_firmware(struct mt76x02_dev *dev)
|
||||
mt76_wr(dev, MT_USB_DMA_CFG, val);
|
||||
|
||||
ret = mt76x0u_upload_firmware(dev, hdr);
|
||||
mt76x02_set_ethtool_fwver(dev, hdr);
|
||||
release_firmware(fw);
|
||||
|
||||
mt76_wr(dev, MT_FCE_PSE_CTRL, 1);
|
||||
|
||||
Reference in New Issue
Block a user