Skip to content

Commit a7c7a01

Browse files
committed
net: phy: as21xx: fix phy detection
phy-id: 75009410
1 parent 5d3e233 commit a7c7a01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/phy/as21xxx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ static int as21xxx_match_phy_device(struct phy_device *phydev,
12381238
{
12391239
u32 phy_id = aeon_read_pid(phydev);
12401240
/* AEONSEMI get pid. */
1241-
if (phydev->phy_id != PHY_ID_AS21XXX)
1241+
if (phy_id != PHY_ID_AS21XXX)
12421242
return 0;
12431243

12441244
phydev->phy_id = phy_id;

0 commit comments

Comments
 (0)