brcm47xx: fix wgt634u port assignment, broken since openwrt r47866
authorLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:37:10 +0000 (22:37 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:37:10 +0000 (22:37 +0000)
Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 49353

target/linux/brcm47xx/base-files/etc/board.d/01_detect

index 91ac16eed74f7df38a535c527c8d793ac34793a0..16b81d4fe9a05e3ba08924f7eab1a107967d8b2c 100755 (executable)
@@ -124,7 +124,7 @@ detect_by_model() {
        # Netgear WGT634U exception
        if grep -sqE 'mtd0: 000(6|a)0000' /proc/mtd; then
                ucidef_add_switch "switch0" \
-                       "0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "5@eth0"
+                       "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0"
                return
        fi