diff options
author | 2010-08-02 19:28:31 +0000 | |
---|---|---|
committer | 2010-08-02 19:28:31 +0000 | |
commit | 378df90645eb50bbbab5012c6af8c965826d971a (patch) | |
tree | a83344ebd13332cbfb5d36e3750437f312a6e366 | |
parent | The EC GPE is always edge. edge interrupts have their STS bit reset (diff) | |
download | wireguard-openbsd-378df90645eb50bbbab5012c6af8c965826d971a.tar.xz wireguard-openbsd-378df90645eb50bbbab5012c6af8c965826d971a.zip |
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@
-rw-r--r-- | sys/dev/ic/athn.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <damien.bergamini@free.fr> @@ -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); - } } |