aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/350-wisoc_softled.patch
blob: dae9f218dfdf46a9e158156eafc9c2d888820369 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ath/if_ath_ahb.c
+++ b/ath/if_ath_ahb.c
@@ -245,6 +245,8 @@ init_ath_wmac(u_int16_t devid, u_int16_t
 	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;