summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_xge.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c
index 1bb163d2c09..5a2cff63ff5 100644
--- a/sys/dev/pci/if_xge.c
+++ b/sys/dev/pci/if_xge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xge.c,v 1.2 2006/05/01 01:11:49 brad Exp $ */
+/* $OpenBSD: if_xge.c,v 1.3 2006/05/01 01:31:48 brad Exp $ */
/* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */
/*
@@ -858,8 +858,7 @@ xge_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
* such as IFF_PROMISC are handled.
*/
if (ifp->if_flags & IFF_UP) {
- if (!(ifp->if_flags & IFF_RUNNING))
- xge_init(ifp);
+ xge_init(ifp);
} else {
if (ifp->if_flags & IFF_RUNNING)
xge_stop(ifp, 0);