1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-30 22:09:48 +03:00

[atheros] Add leds back after migration to sysfs

atheros trunk moved to full sysfs gpiolib, but the leds were forgotten.
This restores the wlan led that was missing after switching from backfire
to trunk.

Signed-off-by: Karl Palsson <karlp@remake.is>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32885 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-07-26 17:06:55 +00:00
parent 72d6153213
commit 0f80302310
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
# Copyright 2012 OpenWrt.org
#
. /lib/functions/uci-defaults.sh
ucidef_set_led_netdev "wlan" "wlan" "wlan" "wlan0"
ucidef_commit_leds
exit 0

View File

@ -70,6 +70,7 @@ CONFIG_INITRAMFS_SOURCE=""
CONFIG_IP17XX_PHY=y
CONFIG_IRQ_CPU=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_LEDS_GPIO=y
CONFIG_MDIO_BOARDINFO=y
CONFIG_MIPS=y
CONFIG_MIPS_L1_CACHE_SHIFT=5