I found two places of code to control LED, 
  4 %a   
"build_dir/linux-ixp4xx_generic/compat-wireless-2009-11-21/drivers/net/wireless/ath/ath9k/main.c"
 line 1013
  2 %a   
"build_dir/linux-ixp4xx_generic/compat-wireless-2009-11-21/net/mac80211/led.c" 
line 47

for the first one I've tried to set GPIO number in function static void 
ath_init_leds(struct ath_softc *sc), but didn't work, 
for the sencond one it seems to call LED driver of the kernel. but I can't find 
anything that make sense for an AP from this code.

my question is which one is the proper way to make LED work on my test board? 
for example I use gpio2 as the output to LED.
and how to make changes? especially for an AP, thanks a lot!


_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to