diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-08-02 19:28:32 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-08-02 19:28:32 +0000 |
commit | c20620c4f5eb50002bc6fa53a9e92ef6a2545a46 (patch) | |
tree | dfe853949dc3eff35ab820bd0dd74f6eadb30d4f /sys | |
parent | 70b7830dd2d1272ab45568772e1ddfe337c6ff0c (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 damien@, deraadt@
Diffstat (limited to 'sys')
-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); - } } |