summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/nuvoton/w90p910_ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/nuvoton/w90p910_ether.c')
-rw-r--r--drivers/net/ethernet/nuvoton/w90p910_ether.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ethernet/nuvoton/w90p910_ether.c b/drivers/net/ethernet/nuvoton/w90p910_ether.c
index 159564d8dcdb..89ab786da25f 100644
--- a/drivers/net/ethernet/nuvoton/w90p910_ether.c
+++ b/drivers/net/ethernet/nuvoton/w90p910_ether.c
@@ -868,7 +868,10 @@ static int w90p910_get_link_ksettings(struct net_device *dev,
struct ethtool_link_ksettings *cmd)
{
struct w90p910_ether *ether = netdev_priv(dev);
- return mii_ethtool_get_link_ksettings(&ether->mii, cmd);
+
+ mii_ethtool_get_link_ksettings(&ether->mii, cmd);
+
+ return 0;
}
static int w90p910_set_link_ksettings(struct net_device *dev,