summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/350-wisoc_softled.patch
blob: d22ee60924ecff5697e61fd1c620e13472177e0f (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	2008-03-07 11:40:44.967178082 +0100
+++ madwifi-trunk-r3314/ath/if_ath_ahb.c	2008-03-07 11:40:47.763337418 +0100
@@ -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;