madwifi: fix crash on 2.6.30
[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
This page took 0.040926 seconds and 5 git commands to generate.