aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-09-27 07:16:16 +0200
committerMathias Kresin <dev@kresin.me>2016-10-15 09:01:45 +0200
commit6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda (patch)
tree8c1617ab5ed7575fb6af327b1d820bf3ef74f654 /target/linux/ramips/base-files/etc
parent51bca43f39f0d53ef4b5facd5484347655255b12 (diff)
downloadupstream-6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda.tar.gz
upstream-6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda.tar.bz2
upstream-6391af2f1fd451fcd3e4169dd1d7aa7fbe53fbda.zip
ramips: improve edimax 6200n/nl support
Assign the reset functionality to the wps/reset buttons. Use the wlan switch of the 6200n to enable/disable wlan. Add the internet led of the 6200nl and use the led for boot status indication Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds6
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
2 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index e3b2177820..e14448e3f2 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -26,6 +26,9 @@ case $board in
set_usb_led "$board:blue:3g"
;;
3g-6200nl|\
+wnce2001)
+ set_wifi_led "$board:green:wlan"
+ ;;
br-6475nd|\
mzk-w300nh2)
set_wifi_led "$board:amber:wlan"
@@ -306,9 +309,6 @@ whr-600d)
ucidef_set_led_default "power" "power" "$board:green:power" "1"
ucidef_set_led_default "router" "router" "$board:green:router" "1"
;;
-wnce2001)
- set_wifi_led "$board:green:wlan"
- ;;
wrh-300cr)
set_wifi_led "$board:green:wlan"
ucidef_set_led_netdev "lan" "lan" "$board:green:ethernet" "eth0"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 2f092b0bca..67dcf99a00 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -36,6 +36,9 @@ get_status_led() {
xdxrn502j)
status_led="$board:green:power"
;;
+ 3g-6200nl)
+ status_led="$board:green:internet"
+ ;;
a5-v11|\
cs-qr10|\
d105|\