mediatek/mt7622: unifi-6-lr: fix ucidef network configuration typo
authorMark Mentovai <mark@moxienet.com>
Fri, 19 Nov 2021 14:53:04 +0000 (09:53 -0500)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 19 Nov 2021 18:23:25 +0000 (18:23 +0000)
There's no such thing as ucidef_set_interfaces_lan. It's
ucidef_set_interface_lan.

Cc: David Bauer <mail@david-bauer.net>
Signed-off-by: Mark Mentovai <mark@moxienet.com>
target/linux/mediatek/mt7622/base-files/etc/board.d/02_network

index 361d60e92b9662576b85d7502936ff9ba568cc4b..3724fd6d5c850b56ee6ec37d72cc2f15d5d18775 100644 (file)
@@ -20,7 +20,7 @@ mediatek_setup_interfaces()
                ;;
        ubnt,unifi-6-lr|\
        ubnt,unifi-6-lr-ubootmod)
-               ucidef_set_interfaces_lan "eth0"
+               ucidef_set_interface_lan "eth0"
                ;;
        *)
                ucidef_add_switch "switch0" \