Make sure to report media change status to caller. Previously it

always reported success.
This commit is contained in:
Pyun YongHyeon 2011-10-17 20:03:38 +00:00
parent 0ae9f6a9f3
commit 965706387b

View File

@ -518,9 +518,7 @@ et_ifmedia_upd_locked(struct ifnet *ifp)
LIST_FOREACH(miisc, &mii->mii_phys, mii_list)
PHY_RESET(miisc);
mii_mediachg(mii);
return (0);
return (mii_mediachg(mii));
}
static int