net: bcm63xx_enet: Fix build failure with phy_ethtool_nway_reset

Introduced a typo making the driver no longer build, *sigh*.

Fixes: 42469bf5d9 ("net: bcm63xx_enet: Utilize phy_ethtool_nway_reset")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Florian Fainelli 2016-11-15 18:21:09 -08:00 committed by David S. Miller
parent 08e10d4dd1
commit 0fa1dfd6b9
1 changed files with 1 additions and 1 deletions

View File

@ -1435,7 +1435,7 @@ static int bcm_enet_nway_reset(struct net_device *dev)
priv = netdev_priv(dev);
if (priv->has_phy)
return phy_ethtool_nway_reset(dev),
return phy_ethtool_nway_reset(dev);
return -EOPNOTSUPP;
}