Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0.

This commit is contained in:
Dimitry Andric 2015-06-23 06:48:02 +00:00
parent 298022457a
commit 42e2071b63

View file

@ -3350,7 +3350,7 @@ ti_ifmedia_upd(struct ifnet *ifp)
sc = ifp->if_softc;
TI_LOCK(sc);
error = ti_ifmedia_upd(ifp);
error = ti_ifmedia_upd_locked(ifp);
TI_UNLOCK(sc);
return (error);