ar71xx: fix switch configuration in Ubiquiti UAP Pro
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Nov 2014 09:20:18 +0000 (09:20 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 19 Nov 2014 09:20:18 +0000 (09:20 +0000)
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43306 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ar71xx/base-files/etc/uci-defaults/02_network

index a269c1f..5fde7b2 100755 (executable)
@@ -215,9 +215,10 @@ wnr612-v2)
        ;;
 
 uap-pro)
-       ucidef_set_interface_lan "eth0"
+       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
-       ucidef_add_switch_vlan "switch0" "1" "0 1 2"
+       ucidef_add_switch_vlan "switch0" "1" "0t 1"
+       ucidef_add_switch_vlan "switch0" "2" "0t 2"
        ;;
 
 nanostation-m-xw)