aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/msk
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2011-10-17 19:49:00 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2011-10-17 19:49:00 +0000
commit57c81d92aecb49b57e84691af0306d24ded3754a (patch)
treed177532a5533584316ef20ec33ef25a4e8e17cac /sys/dev/msk
parenta906bdb04de03ada719aaba2174cb1ecd0f62615 (diff)
downloadsrc-57c81d92aecb49b57e84691af0306d24ded3754a.tar.gz
src-57c81d92aecb49b57e84691af0306d24ded3754a.zip
Notes
Diffstat (limited to 'sys/dev/msk')
-rw-r--r--sys/dev/msk/if_msk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c
index be4ac5dc8d88..b060949a8592 100644
--- a/sys/dev/msk/if_msk.c
+++ b/sys/dev/msk/if_msk.c
@@ -995,9 +995,9 @@ msk_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr)
mii = device_get_softc(sc_if->msk_miibus);
mii_pollstat(mii);
- MSK_IF_UNLOCK(sc_if);
ifmr->ifm_active = mii->mii_media_active;
ifmr->ifm_status = mii->mii_media_status;
+ MSK_IF_UNLOCK(sc_if);
}
static int