mirror of https://github.com/hak5/openwrt.git
ramips: fix leds on GL.iNet GL-MT300N-V2
The WAN LED now shows the link state. It's color is green,
not blue.
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
(cherry picked from commit 0411813c6f
)
openwrt-18.06
parent
fbadfecbb5
commit
1cd945ea22
|
@ -210,6 +210,7 @@ gl-mt750)
|
||||||
;;
|
;;
|
||||||
gl-mt300n-v2)
|
gl-mt300n-v2)
|
||||||
set_wifi_led "$boardname:red:wlan"
|
set_wifi_led "$boardname:red:wlan"
|
||||||
|
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x1"
|
||||||
;;
|
;;
|
||||||
hc5661|\
|
hc5661|\
|
||||||
hc5661a)
|
hc5661a)
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
wan {
|
wan {
|
||||||
label = "gl-mt300n-v2:blue:wan";
|
label = "gl-mt300n-v2:green:wan";
|
||||||
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue