diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index 7c000a7cfa4b..a933173b2587 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -2196,12 +2196,10 @@ sis_ioctl(struct ifnet *ifp, u_long command, caddr_t data) case SIOCSIFFLAGS: if (ifp->if_flags & IFF_UP) { sis_init(sc); - } else { - if (ifp->if_flags & IFF_RUNNING) { - SIS_LOCK(sc); - sis_stop(sc); - SIS_UNLOCK(sc); - } + } else if (ifp->if_flags & IFF_RUNNING) { + SIS_LOCK(sc); + sis_stop(sc); + SIS_UNLOCK(sc); } error = 0; break;