diff options
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r-- | drivers/net/niu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index 524e800ddcf..cc25bff0bd3 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c | |||
@@ -6844,7 +6844,7 @@ static int niu_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) | |||
6844 | cmd->supported = lp->supported; | 6844 | cmd->supported = lp->supported; |
6845 | cmd->advertising = lp->active_advertising; | 6845 | cmd->advertising = lp->active_advertising; |
6846 | cmd->autoneg = lp->active_autoneg; | 6846 | cmd->autoneg = lp->active_autoneg; |
6847 | cmd->speed = lp->active_speed; | 6847 | ethtool_cmd_speed_set(cmd, lp->active_speed); |
6848 | cmd->duplex = lp->active_duplex; | 6848 | cmd->duplex = lp->active_duplex; |
6849 | cmd->port = (np->flags & NIU_FLAGS_FIBER) ? PORT_FIBRE : PORT_TP; | 6849 | cmd->port = (np->flags & NIU_FLAGS_FIBER) ? PORT_FIBRE : PORT_TP; |
6850 | cmd->transceiver = (np->flags & NIU_FLAGS_XCVR_SERDES) ? | 6850 | cmd->transceiver = (np->flags & NIU_FLAGS_XCVR_SERDES) ? |