ath79: remove redundant ucidef_set_interfaces_* calls in 02_network
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 02_network
index 0608a1fc43eea00ce696b8a16e0835850f1ac22e..15371a1dd9b762d9696efb5a448c4afef9a2368c 100755 (executable)
@@ -116,7 +116,6 @@ ath79_setup_interfaces()
                ;;
        comfast,cf-wr650ac-v1|\
        comfast,cf-wr650ac-v2)
-               ucidef_set_interfaces_lan_wan "eth0" "eth1"
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "6@eth1"
                ;;
@@ -196,7 +195,7 @@ ath79_setup_interfaces()
        netgear,wndr3700v2|\
        netgear,wndr3800|\
        netgear,wndr3800ch)
-               ucidef_set_interfaces_lan_wan "eth0" "eth1"
+               ucidef_set_interface_wan "eth1"
                ucidef_add_switch "switch0" \
                        "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5u@eth0"
                ucidef_add_switch_attr "switch0" "blinkrate" 2