diff options
-rw-r--r-- | drivers/net/phy/phylink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 938803237d7f..85987aac31c4 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c | |||
@@ -320,6 +320,10 @@ static int phylink_get_mac_state(struct phylink *pl, struct phylink_link_state * | |||
320 | linkmode_zero(state->lp_advertising); | 320 | linkmode_zero(state->lp_advertising); |
321 | state->interface = pl->link_config.interface; | 321 | state->interface = pl->link_config.interface; |
322 | state->an_enabled = pl->link_config.an_enabled; | 322 | state->an_enabled = pl->link_config.an_enabled; |
323 | state->speed = SPEED_UNKNOWN; | ||
324 | state->duplex = DUPLEX_UNKNOWN; | ||
325 | state->pause = MLO_PAUSE_NONE; | ||
326 | state->an_complete = 0; | ||
323 | state->link = 1; | 327 | state->link = 1; |
324 | 328 | ||
325 | return pl->ops->mac_link_state(ndev, state); | 329 | return pl->ops->mac_link_state(ndev, state); |