Commit 038ed39a authored by Catalin Patulea's avatar Catalin Patulea Committed by Bernd Eckenfels

mii-tool: apply -p to -w

Signed-off-by: default avatarCatalin Patulea <cat@vv.carleton.ca>
parent 68a4d784
......@@ -442,6 +442,9 @@ static void watch_one_xcvr(int skfd, char *ifname, int index)
ifname, strerror(errno));
return;
}
if (override_phy >= 0) {
mii->phy_id = override_phy;
}
now = (mdio_read(skfd, MII_BMCR) |
(mdio_read(skfd, MII_BMSR) << 16));
if (status[index] && (status[index] != now))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment