summaryrefslogtreecommitdiff
path: root/drivers/net/cortina_ni.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cortina_ni.c')
-rw-r--r--drivers/net/cortina_ni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cortina_ni.c b/drivers/net/cortina_ni.c
index 79026882800..21b7089176c 100644
--- a/drivers/net/cortina_ni.c
+++ b/drivers/net/cortina_ni.c
@@ -499,7 +499,7 @@ static int ca_phy_probe(struct udevice *dev)
dev, priv->phy_interface);
if (ext_phydev) {
ext_phydev->supported &= PHY_GBIT_FEATURES;
- ext_phydev->advertising = int_phydev->supported;
+ ext_phydev->advertising = ext_phydev->supported;
phy_config(ext_phydev);
} else {
printf("CA NI %s: There is no external phy device\n", __func__);