[PATCH] mediatek/ubnt, unifi-6-lr: fix ucidef network configuration typo

Mark Mentovai mark at moxienet.com
Fri Nov 19 06:53:04 PST 2021


There's no such thing as ucidef_set_interfaces_lan. It's
ucidef_set_interface_lan.

Cc: David Bauer <mail at david-bauer.net>
Signed-off-by: Mark Mentovai <mark at moxienet.com>
---
 target/linux/mediatek/mt7622/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network b/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
index 361d60e92b96..3724fd6d5c85 100644
--- a/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
@@ -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" \
-- 
2.32.0




More information about the openwrt-devel mailing list