diff options
-rw-r--r-- | drivers/net/tg3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index b1e5660baf4a..1e0c9e0dc394 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -8101,7 +8101,8 @@ static int tg3_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) | |||
8101 | 8101 | ||
8102 | tp->link_config.autoneg = cmd->autoneg; | 8102 | tp->link_config.autoneg = cmd->autoneg; |
8103 | if (cmd->autoneg == AUTONEG_ENABLE) { | 8103 | if (cmd->autoneg == AUTONEG_ENABLE) { |
8104 | tp->link_config.advertising = cmd->advertising; | 8104 | tp->link_config.advertising = (cmd->advertising | |
8105 | ADVERTISED_Autoneg); | ||
8105 | tp->link_config.speed = SPEED_INVALID; | 8106 | tp->link_config.speed = SPEED_INVALID; |
8106 | tp->link_config.duplex = DUPLEX_INVALID; | 8107 | tp->link_config.duplex = DUPLEX_INVALID; |
8107 | } else { | 8108 | } else { |