From: kettenis Date: Mon, 2 Aug 2010 19:28:31 +0000 (+0000) Subject: There is no reason to call the start function upon resume; the network stack X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=378df90645eb50bbbab5012c6af8c965826d971a;p=openbsd 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 damien@, deraadt@ --- diff --git a/sys/dev/ic/athn.c b/sys/dev/ic/athn.c index 003801629b6..005fbee67e9 100644 --- a/sys/dev/ic/athn.c +++ b/sys/dev/ic/athn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: athn.c,v 1.57 2010/07/22 10:19:37 kettenis Exp $ */ +/* $OpenBSD: athn.c,v 1.58 2010/08/02 19:28:31 kettenis Exp $ */ /*- * Copyright (c) 2009 Damien Bergamini @@ -2716,9 +2716,6 @@ athn_resume(struct athn_softc *sc) { struct ifnet *ifp = &sc->sc_ic.ic_if; - if (ifp->if_flags & IFF_UP) { + if (ifp->if_flags & IFF_UP) athn_init(ifp); - if (ifp->if_flags & IFF_RUNNING) - athn_start(ifp); - } }