19658b91ecb64972f44eb03d30397916c5f34cc4
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 350-wisoc_softled.patch
1 Index: madwifi-trunk-r3314/ath/if_ath_ahb.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath/if_ath_ahb.c
4 +++ madwifi-trunk-r3314/ath/if_ath_ahb.c
5 @@ -245,6 +245,8 @@
6 num_activesc++;
7 /* Ready to process interrupts */
8
9 + sc->aps_sc.sc_softled = 1; /* SoftLED over GPIO */
10 + sc->aps_sc.sc_ledpin = config->board->sysLedGpio;
11 sc->aps_sc.sc_invalid = 0;
12 return 0;
13