aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/mdio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/mdio.c b/drivers/net/mdio.c
index c0db9d753006..e85bf04cf813 100644
--- a/drivers/net/mdio.c
+++ b/drivers/net/mdio.c
@@ -162,6 +162,10 @@ static u32 mdio45_get_an(const struct mdio_if_info *mdio, u16 addr)
162 result |= ADVERTISED_100baseT_Half; 162 result |= ADVERTISED_100baseT_Half;
163 if (reg & ADVERTISE_100FULL) 163 if (reg & ADVERTISE_100FULL)
164 result |= ADVERTISED_100baseT_Full; 164 result |= ADVERTISED_100baseT_Full;
165 if (reg & ADVERTISE_PAUSE_CAP)
166 result |= ADVERTISED_Pause;
167 if (reg & ADVERTISE_PAUSE_ASYM)
168 result |= ADVERTISED_Asym_Pause;
165 return result; 169 return result;
166} 170}
167 171