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
41ae7c33b3
commit
5c14f25447
@ -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…
x
Reference in New Issue
Block a user