summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Peek <mp@FreeBSD.org>2002-06-24 22:28:42 +0000
committerMark Peek <mp@FreeBSD.org>2002-06-24 22:28:42 +0000
commit44081f9b354caa44697d1873b5258660d21c64d8 (patch)
treefa78515a51ad445ab04414ff11166515042f3dc9
parent6fd22caf9190ec7d8036dbc8ad1c217960308532 (diff)
Notes
-rw-r--r--sys/dev/bge/if_bge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 433911f583fc..e21da496e3ae 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -2389,8 +2389,10 @@ bge_init(xsc)
ifp = &sc->arpcom.ac_if;
- if (ifp->if_flags & IFF_RUNNING)
+ if (ifp->if_flags & IFF_RUNNING) {
+ splx(s);
return;
+ }
/* Cancel pending I/O and flush buffers. */
bge_stop(sc);