Make sure to report media change status to caller. Previously it
always reported success.
This commit is contained in:
parent
0ae9f6a9f3
commit
965706387b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user