summaryrefslogtreecommitdiffstats
path: root/sys/dev/bge/if_bge.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bge/if_bge.c')
-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 433911f..e21da49 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);
OpenPOWER on IntegriCloud