ar71xx: fix switch configuration in Ubiquiti UAP Pro
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 02_network
index dfe7161..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)
@@ -292,6 +293,7 @@ loco-m-xw |\
 mr600 |\
 mr600v2 |\
 mr900 |\
+mr900v2 |\
 rb-411 |\
 rb-911g-2hpnd |\
 rb-911g-5hpnd |\