mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
restore led state on resume
Submitted by: markus
This commit is contained in:
parent
566c1555c6
commit
b50c8bde99
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue