diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index d0bdb7fa1d23..9b9c4a173ac1 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -3350,7 +3350,7 @@ ti_ifmedia_upd(struct ifnet *ifp) sc = ifp->if_softc; TI_LOCK(sc); - error = ti_ifmedia_upd_locked(ifp); + error = ti_ifmedia_upd_locked(sc); TI_UNLOCK(sc); return (error);