aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2019-02-25 21:14:10 +0900
committerPiotr Dymacz <pepe2k@gmail.com>2019-02-28 11:54:09 +0100
commit9c7fd17f4aeb02ee48471a75a088df3973d362ee (patch)
tree42f986b7996e00bcd552a4a7399659c9b00a3e6f
parente65f935de9e67ea07a251f114455f12e9555c5bf (diff)
downloadupstream-9c7fd17f4aeb02ee48471a75a088df3973d362ee.tar.gz
upstream-9c7fd17f4aeb02ee48471a75a088df3973d362ee.tar.bz2
upstream-9c7fd17f4aeb02ee48471a75a088df3973d362ee.zip
ipq806x: fix LED configuration for NEC Aterm WG2600HP
NEC WG2600HP uses port1 on QCA8337 as a WAN port, so "0x2" should be used as a portmask instead of "0x1e" for "WAN" LED configuration. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/01_leds2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq806x/base-files/etc/board.d/01_leds b/target/linux/ipq806x/base-files/etc/board.d/01_leds
index 509d334c41..68b2c19bdf 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -22,7 +22,7 @@ compex,wpq864)
nec,wg2600hp)
ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:green:wlan2g" "phy1tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:green:wlan5g" "phy0tpt"
- ucidef_set_led_switch "wan" "WAN" "${boardname}:green:active" "switch0" "0x1e"
+ ucidef_set_led_switch "wan" "WAN" "${boardname}:green:active" "switch0" "0x2"
;;
netgear,d7800 |\
netgear,r7500 |\