Improve media status reporting, when the driver knows...

This commit is contained in:
Warner Losh 2012-01-30 22:47:02 +00:00
parent 35f8bc5f64
commit 1b1dd1f89e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230789

View File

@ -2255,6 +2255,7 @@ fe_medchange (struct ifnet *ifp)
static void
fe_medstat (struct ifnet *ifp, struct ifmediareq *ifmr)
{
(void)ifp;
(void)ifmr;
struct fe_softc *sc = ifp->if_softc;
ifmr->ifm_active = sc->media.ifm_media;
}