dae9f218dfdf46a9e158156eafc9c2d888820369
[openwrt/openwrt.git] / package / madwifi / patches / 350-wisoc_softled.patch
1 --- a/ath/if_ath_ahb.c
2 +++ b/ath/if_ath_ahb.c
3 @@ -245,6 +245,8 @@ init_ath_wmac(u_int16_t devid, u_int16_t
4 num_activesc++;
5 /* Ready to process interrupts */
6
7 + sc->aps_sc.sc_softled = 1; /* SoftLED over GPIO */
8 + sc->aps_sc.sc_ledpin = config->board->sysLedGpio;
9 sc->aps_sc.sc_invalid = 0;
10 return 0;
11