Merge tag 'xilinx-for-v2017.05' of git://www.denx.de/git/u-boot-microblaze
[platform/kernel/u-boot.git] / drivers / net / zynq_gem.c
index 4842a42..357f8c2 100644 (file)
@@ -337,7 +337,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;