From ec67ec1357878da0c980c55bc72cdd57d90650b3 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 2 Aug 2010 19:36:13 +0000 Subject: [PATCH] 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@ --- sys/dev/pci/if_bge.c | 6 ++---- 1 file 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); - } } } -- 2.20.1