summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-03-08 07:14:18 -0500
committerTom Rini <trini@konsulko.com>2017-03-08 07:14:18 -0500
commit866bd1cc737ebb9621e72acd5a5d57c0b6ecd2d2 (patch)
tree25466eb3b98186b724d4738dc41a056c9a307f4d
parentae29c3d4f4e00cb016518a64ae8fb1be3a0b76c9 (diff)
parent2c2ab8d65ff6c95a8af0fdb90cb34a777c28e3a1 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-net
-rw-r--r--drivers/net/zynq_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 86dd03feda..a160564439 100644
--- a/drivers/net/zynq_gem.c
+++ b/drivers/net/zynq_gem.c
@@ -340,7 +340,7 @@ static int zynq_phy_init(struct udevice *dev)
if (!priv->phydev)
return -ENODEV;
- priv->phydev->supported = supported | ADVERTISED_Pause |
+ priv->phydev->supported &= supported | ADVERTISED_Pause |
ADVERTISED_Asym_Pause;
priv->phydev->advertising = priv->phydev->supported;