All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mt76x0: pci: report firmware version using ethtool
       [not found] <cover.1538728254.git.lorenzo.bianconi@redhat.com>
@ 2018-10-05  8:32 ` Lorenzo Bianconi
  2018-10-05  9:57   ` Felix Fietkau
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2018-10-05  8:32 UTC (permalink / raw)
  To: nbd; +Cc: sgruszka, linux-wireless

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>
---
 drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c
index 6c66656c21f4..569861289aa5 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x0/pci_mcu.c
@@ -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:
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mt76x0: pci: report firmware version using ethtool
  2018-10-05  8:32 ` [PATCH] mt76x0: pci: report firmware version using ethtool Lorenzo Bianconi
@ 2018-10-05  9:57   ` Felix Fietkau
  0 siblings, 0 replies; 2+ messages in thread
From: Felix Fietkau @ 2018-10-05  9:57 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: sgruszka, linux-wireless

On 2018-10-05 10:32, Lorenzo Bianconi wrote:
> 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>

Merged, thanks.

- Felix

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-05  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cover.1538728254.git.lorenzo.bianconi@redhat.com>
2018-10-05  8:32 ` [PATCH] mt76x0: pci: report firmware version using ethtool Lorenzo Bianconi
2018-10-05  9:57   ` Felix Fietkau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.