mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
mt76x0: pci: report firmware version using ethtool
Report via ethtool fw_ver and build_ver members of mt76x02_fw_header data structure similarly to what is reported in the syslog Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
26a9daa691
commit
127aa72691
1 changed files with 1 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ static int mt76x0e_load_firmware(struct mt76x02_dev *dev)
|
|||
goto out;
|
||||
}
|
||||
|
||||
mt76x02_set_ethtool_fwver(dev, hdr);
|
||||
dev_dbg(dev->mt76.dev, "Firmware running!\n");
|
||||
|
||||
out:
|
||||
|
|
|
|||
Loading…
Reference in a new issue