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