diff options
author | 2005-11-15 01:40:43 +0000 | |
---|---|---|
committer | 2005-11-15 01:40:43 +0000 | |
commit | 9cef3429b396abba923f36e31979bb85dc87b995 (patch) | |
tree | 1edab46ecd069772edab34eb294fbdfe630dccc6 /sys/dev/pci/if_em.c | |
parent | move the REFERENCES stuff into SEE ALSO; (diff) | |
download | wireguard-openbsd-9cef3429b396abba923f36e31979bb85dc87b995.tar.xz wireguard-openbsd-9cef3429b396abba923f36e31979bb85dc87b995.zip |
remove braces and fix indenting here so its easier to read.
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r-- | sys/dev/pci/if_em.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index aa9948c6ae0..349d718376c 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_em.c,v 1.88 2005/11/14 16:04:15 brad Exp $ */ +/* $OpenBSD: if_em.c,v 1.89 2005/11/15 01:40:43 brad Exp $ */ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ #include <dev/pci/if_em.h> @@ -527,10 +527,9 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data) if (ifp->if_flags & IFF_RUNNING) { em_disable_intr(sc); em_set_multi(sc); - if (sc->hw.mac_type == em_82542_rev2_0) { + if (sc->hw.mac_type == em_82542_rev2_0) em_initialize_receive_unit(sc); - } - em_enable_intr(sc); + em_enable_intr(sc); } error = 0; } |