ramips: fix switch port order for HuaWei HG255D
authorDavid Yang <mmyangfl@gmail.com>
Fri, 26 Oct 2018 09:21:58 +0000 (17:21 +0800)
committerMathias Kresin <dev@kresin.me>
Wed, 28 Nov 2018 00:11:38 +0000 (01:11 +0100)
The order of port marks and LEDs is reversed according to the board.

Signed-off-by: David Yang <mmyangfl@gmail.com>
target/linux/ramips/base-files/etc/board.d/02_network

index ff8a0db6f325aa4f070a239b93c66dc047b5f387..0d8855c32489cbcd7b5938c3c3519fbba18799bd 100755 (executable)
@@ -206,7 +206,6 @@ ramips_setup_interfaces()
        gl-mt300a|\
        gl-mt300n|\
        gl-mt750|\
-       hg255d|\
        hiwifi,hc5861b|\
        jhr-n805r|\
        jhr-n825r|\
@@ -245,6 +244,7 @@ ramips_setup_interfaces()
        elecom,wrc-1167ghbk2-s|\
        elecom,wrc-2533gst|\
        elecom,wrc-1900gst|\
+       hg255d|\
        iodata,wn-ax1167gr|\
        iodata,wn-gx300gr)
                ucidef_add_switch "switch0" \