Improve media status reporting, when the driver knows...
This commit is contained in:
parent
35f8bc5f64
commit
1b1dd1f89e
@ -2255,6 +2255,7 @@ fe_medchange (struct ifnet *ifp)
|
|||||||
static void
|
static void
|
||||||
fe_medstat (struct ifnet *ifp, struct ifmediareq *ifmr)
|
fe_medstat (struct ifnet *ifp, struct ifmediareq *ifmr)
|
||||||
{
|
{
|
||||||
(void)ifp;
|
struct fe_softc *sc = ifp->if_softc;
|
||||||
(void)ifmr;
|
|
||||||
|
ifmr->ifm_active = sc->media.ifm_media;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user