Honor IFF_DRV_OACTIVE in em_start_locked().

This commit is contained in:
Pyun YongHyeon 2006-07-20 03:57:58 +00:00
parent 7cf6a457ea
commit fa799a4e7e

View file

@ -692,6 +692,9 @@ em_start_locked(struct ifnet *ifp)
EM_LOCK_ASSERT(sc);
if ((ifp->if_drv_flags & (IFF_DRV_RUNNING|IFF_DRV_OACTIVE)) !=
IFF_DRV_RUNNING)
return;
if (!sc->link_active)
return;