[ramips] unbreak port mapping detection
authorJohn Crispin <john@openwrt.org>
Tue, 25 Sep 2012 09:51:48 +0000 (09:51 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 25 Sep 2012 09:51:48 +0000 (09:51 +0000)
SVN-Revision: 33536

target/linux/ramips/base-files/etc/uci-defaults/network

index 76c6901..a30ce0e 100755 (executable)
@@ -18,6 +18,7 @@ ramips_setup_rt3x5x_vlans()
        fi
        local wanports=""
        local lanports=""
+       swconfig dev rt305x set reset 1
        for port in 5 4 3 2 1 0; do
                if [ `swconfig dev rt305x port $port get disable` = "1" ]; then
                        continue