mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00: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 <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
b2360d5974
commit
71d84bfb34
@@ -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