diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-04 21:02:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-04 21:02:25 +0000 |
commit | a3085b8ef365e10d6ea35c403c1047732bf467fd (patch) | |
tree | cb2857abf435f9ce3357ab6c8ee13c5e2536a70b /sys | |
parent | d91b36821a04cee6059a7cb0890d7cf69e86635d (diff) |
on resume: calling sc_power after ath_init() is silly. ath_init()
gets down to there through ath_init() -> ath_enable() -> ...
from a discussion with damien
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ath.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index 41b5455ee9d..c25a9f40c52 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.86 2010/07/02 06:06:30 reyk Exp $ */ +/* $OpenBSD: ath.c,v 1.87 2010/08/04 21:02:24 deraadt Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -529,8 +529,6 @@ ath_resume(struct ath_softc *sc, int why) if (ifp->if_flags & IFF_UP) { ath_init(ifp); - if (sc->sc_power != NULL) - (*sc->sc_power)(sc, why); if (ifp->if_flags & IFF_RUNNING) ath_start(ifp); } |