mt76x0: pci: report firmware version using ethtool
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sun, 7 Oct 2018 09:51:16 +0000 (11:51 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 13 Oct 2018 15:39:26 +0000 (17:39 +0200)
commit127aa72691ff567ea220c095843bf8d66f84e9af
tree867cf3ab9bb1df91601e9a2c2e25ac1beb48194d
parent26a9daa69123f599b95e01c31313e6bbc4047bdb
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>
drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c