Skip to content

Commit

Permalink
mt76x0: pci: report firmware version using ethtool
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Oct 8, 2018
1 parent 48950cb commit 06276cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mt76x0/pci_mcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 06276cc

Please sign in to comment.