diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index 3e9c760cb283..d84d0950b658 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -642,6 +642,8 @@ int ehea_sense_port_attr(struct ehea_port *port) | |||
642 | break; | 642 | break; |
643 | } | 643 | } |
644 | 644 | ||
645 | port->autoneg = 1; | ||
646 | |||
645 | /* Number of default QPs */ | 647 | /* Number of default QPs */ |
646 | port->num_def_qps = cb0->num_default_qps; | 648 | port->num_def_qps = cb0->num_default_qps; |
647 | 649 | ||
@@ -2334,8 +2336,6 @@ static int ehea_setup_single_port(struct ehea_port *port, | |||
2334 | 2336 | ||
2335 | INIT_LIST_HEAD(&port->mc_list->list); | 2337 | INIT_LIST_HEAD(&port->mc_list->list); |
2336 | 2338 | ||
2337 | ehea_set_portspeed(port, EHEA_SPEED_AUTONEG); | ||
2338 | |||
2339 | ret = ehea_sense_port_attr(port); | 2339 | ret = ehea_sense_port_attr(port); |
2340 | if (ret) | 2340 | if (ret) |
2341 | goto out; | 2341 | goto out; |