mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Since the only thing with a mux is the AR5416 and later, and we're now
doing split software/hardware LED configuration, we can now simply treat "softled" as an "output" mux type. This works fine on this DWA-552. Previous generation (pre-11n NICs) don't have a GPIO mux - only input/output configuration - so they ignore this field.
This commit is contained in:
parent
3440495a52
commit
404b0e8b91
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ ath_led_config(struct ath_softc *sc)
|
|||
/* Software LED blinking - GPIO controlled LED */
|
||||
if (sc->sc_softled) {
|
||||
ath_hal_gpioCfgOutput(sc->sc_ah, sc->sc_ledpin,
|
||||
HAL_GPIO_MUX_MAC_NETWORK_LED);
|
||||
HAL_GPIO_MUX_OUTPUT);
|
||||
ath_hal_gpioset(sc->sc_ah, sc->sc_ledpin, !sc->sc_ledon);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue