summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index fa38695..dfb274a 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -3033,8 +3033,8 @@ xl_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
CSR_WRITE_2(sc, XL_COMMAND,
XL_CMD_RX_SET_FILT|rxfilt);
XL_SEL_WIN(7);
- } else
- if ((ifp->if_flags & IFF_RUNNING) == 0) {
+ } else {
+ if ((ifp->if_flags & IFF_RUNNING) == 0)
xl_init_locked(sc);
}
} else {
OpenPOWER on IntegriCloud