ar71xx: board.d: fix switch defaults on dLAN pro 1200+ WiFi ac
[openwrt/staging/jow.git] / target / linux / ar71xx / base-files / etc / board.d / 02_network
index 944ced3a1622fa9d6c0d078c1b944309c80f5f93..51a1b645070eb5d4fbb0c9541a5eaef77ad56119 100755 (executable)
@@ -310,10 +310,9 @@ dlan-pro-500-wp)
 
 dlan-pro-1200-ac)
        ucidef_set_interface_lan "eth0"
-       ucidef_add_switch "switch0"
-       ucidef_add_switch_attr "switch0" "reset" "false"
-       ucidef_add_switch_ports "switch0" \
+       ucidef_add_switch "switch0" \
                "0@eth0" "2:lan" "3:lan" "4:lan"
+       ucidef_add_switch_attr "switch0" "enable" "false"
        ;;
 
 all0305 |\