aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds1
-rw-r--r--target/linux/ramips/dts/GL-MT300N-V2.dts2
2 files changed, 2 insertions, 1 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 5f5e5630fd..2644bc0159 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -150,6 +150,7 @@ gl-mt750)
;;
gl-mt300n-v2)
set_wifi_led "$boardname:red:wlan"
+ ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x1"
;;
hc5661|\
hc5661a)
diff --git a/target/linux/ramips/dts/GL-MT300N-V2.dts b/target/linux/ramips/dts/GL-MT300N-V2.dts
index 48c43baeff..ba5a595b10 100644
--- a/target/linux/ramips/dts/GL-MT300N-V2.dts
+++ b/target/linux/ramips/dts/GL-MT300N-V2.dts
@@ -35,7 +35,7 @@
};
wan {
- label = "gl-mt300n-v2:blue:wan";
+ label = "gl-mt300n-v2:green:wan";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};