diff options
-rw-r--r-- | drivers/net/tg3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 23bad21b5c87..e47a9c1f35cb 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -7974,6 +7974,10 @@ static int tg3_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) | |||
7974 | tp->link_config.duplex = cmd->duplex; | 7974 | tp->link_config.duplex = cmd->duplex; |
7975 | } | 7975 | } |
7976 | 7976 | ||
7977 | tp->link_config.orig_speed = tp->link_config.speed; | ||
7978 | tp->link_config.orig_duplex = tp->link_config.duplex; | ||
7979 | tp->link_config.orig_autoneg = tp->link_config.autoneg; | ||
7980 | |||
7977 | if (netif_running(dev)) | 7981 | if (netif_running(dev)) |
7978 | tg3_setup_phy(tp, 1); | 7982 | tg3_setup_phy(tp, 1); |
7979 | 7983 | ||