ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others
SVN-Revision: 22468
This commit is contained in:
parent
8c4ac87e8f
commit
bf1db57017
1 changed files with 1 additions and 0 deletions
|
@ -373,6 +373,7 @@ static int setPhy(struct ip17xx_state *state, reg mii, u16 value)
|
||||||
err = ip_phy_write(state, mii.p, mii.m, value);
|
err = ip_phy_write(state, mii.p, mii.m, value);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
|
mdelay(2);
|
||||||
getPhy(state, mii);
|
getPhy(state, mii);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue