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

This commit is contained in:
imp 2012-01-30 22:47:02 +00:00
parent b680dcba46
commit 566698edeb

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;
}