artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
378df90
)
There is no reason to call the start function upon resume; the network stack
author
kettenis
<kettenis@openbsd.org>
Mon, 2 Aug 2010 19:36:13 +0000
(19:36 +0000)
committer
kettenis
<kettenis@openbsd.org>
Mon, 2 Aug 2010 19:36:13 +0000
(19:36 +0000)
is perfectly capable to get things going again all by itself.
ok deraadt@
sys/dev/pci/if_bge.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/if_bge.c
b/sys/dev/pci/if_bge.c
index
dbd2abf
..
562ec0a
100644
(file)
--- a/
sys/dev/pci/if_bge.c
+++ b/
sys/dev/pci/if_bge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_bge.c,v 1.29
6 2010/07/27 21:56:11 todd Exp $
*/
+/* $OpenBSD: if_bge.c,v 1.29
7 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);
- }
}
}