restore led state on resume

Submitted by:	markus
This commit is contained in:
Sam Leffler 2005-06-02 03:18:55 +00:00
parent 566c1555c6
commit b50c8bde99

View File

@ -649,6 +649,10 @@ ath_resume(struct ath_softc *sc)
if (ifp->if_flags & IFF_RUNNING)
ath_start(ifp);
}
if (sc->sc_softled) {
ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_ledpin);
ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, !sc->sc_ledon);
}
}
void