Author: yongari
Date: Mon Oct 17 20:03:38 2011
New Revision: 226481
URL: http://svn.freebsd.org/changeset/base/226481
Log:
Make sure to report media change status to caller. Previously it
always reported success.
Modified:
head/sys/dev/et/if_et.c
Modified: head/sys/dev/et/if_et.c
==============================================================================
--- head/sys/dev/et/if_et.c Mon Oct 17 19:58:34 2011 (r226480)
+++ head/sys/dev/et/if_et.c Mon Oct 17 20:03:38 2011 (r226481)
@@ -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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"