From db1bb30745aea49e81fe135624dc4f928f906843 Mon Sep 17 00:00:00 2001 From: Joachim Foerster Date: Fri, 13 May 2022 19:06:58 +0200 Subject: [PATCH] modules/mqnic: Export link status via ethtool Makes ethtool show the usual "Link detected" line. Signed-off-by: Joachim Foerster --- modules/mqnic/mqnic_ethtool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mqnic/mqnic_ethtool.c b/modules/mqnic/mqnic_ethtool.c index 5bb386b1f..589f60017 100644 --- a/modules/mqnic/mqnic_ethtool.c +++ b/modules/mqnic/mqnic_ethtool.c @@ -342,6 +342,7 @@ static int mqnic_get_module_eeprom_by_page(struct net_device *ndev, const struct ethtool_ops mqnic_ethtool_ops = { .get_drvinfo = mqnic_get_drvinfo, + .get_link = ethtool_op_get_link, .get_ts_info = mqnic_get_ts_info, .get_module_info = mqnic_get_module_info, .get_module_eeprom = mqnic_get_module_eeprom,