Align if else if properly
This commit is contained in:
parent
93368d1eb2
commit
9be9637246
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user