mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Remove queue check from last commit. In most cases there is smth in queue,
when start function is called. Reviewed by: ru
This commit is contained in:
parent
aecb98c94d
commit
c33f26f32b
1 changed files with 1 additions and 2 deletions
|
|
@ -644,8 +644,7 @@ em_start(struct ifnet *ifp)
|
|||
struct adapter *adapter = ifp->if_softc;
|
||||
|
||||
EM_LOCK(adapter);
|
||||
if (ifp->if_drv_flags & IFF_DRV_RUNNING &&
|
||||
!IFQ_DRV_IS_EMPTY(&ifp->if_snd))
|
||||
if (ifp->if_drv_flags & IFF_DRV_RUNNING)
|
||||
em_start_locked(ifp);
|
||||
EM_UNLOCK(adapter);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue