diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-08-02 19:36:14 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-08-02 19:36:14 +0000 |
commit | d5946e6e400083e7d659a2e414a328cd2582df92 (patch) | |
tree | d0e682265af905da983e41bbbe3811daf2ba73a3 /sys | |
parent | c20620c4f5eb50002bc6fa53a9e92ef6a2545a46 (diff) |
There is no reason to call the start function upon resume; the network stack
is perfectly capable to get things going again all by itself.
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_bge.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index dbd2abfc83d..562ec0a1efe 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.296 2010/07/27 21:56:11 todd Exp $ */ +/* $OpenBSD: if_bge.c,v 1.297 2010/08/02 19:36:13 kettenis Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -3740,9 +3740,7 @@ bge_power(int why, void *xsc) if (why == PWR_RESUME) { ifp = &sc->arpcom.ac_if; - if (ifp->if_flags & IFF_UP) { + if (ifp->if_flags & IFF_UP) bge_init(xsc); - bge_start(ifp); - } } } |