[openwrt/openwrt] mediatek/mt7622: unifi-6-lr: fix ucidef network configuration typo

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 19 10:23:37 PST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0c70c5c9986c9c1a7f018636e20aa449942bd2a4

commit 0c70c5c9986c9c1a7f018636e20aa449942bd2a4
Author: Mark Mentovai <mark at moxienet.com>
AuthorDate: Fri Nov 19 09:53:04 2021 -0500

    mediatek/mt7622: unifi-6-lr: fix ucidef network configuration typo
    
    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 361d60e92b..3724fd6d5c 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" \



More information about the lede-commits mailing list