[openwrt/openwrt] qualcommax: ipq807x: reordering, combine the same commands

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 23 04:38:42 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/278401e37a899df9bcac92ee446226e469e0ad46

commit 278401e37a899df9bcac92ee446226e469e0ad46
Author: Paweł Owoc <frut3k7 at gmail.com>
AuthorDate: Fri Dec 1 00:30:20 2023 +0100

    qualcommax: ipq807x: reordering, combine the same commands
    
    Reordering, combine the same commands for ipq807x devices
    
    Signed-off-by: Paweł Owoc <frut3k7 at gmail.com>
---
 target/linux/qualcommax/ipq807x/base-files/etc/board.d/02_network | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/target/linux/qualcommax/ipq807x/base-files/etc/board.d/02_network b/target/linux/qualcommax/ipq807x/base-files/etc/board.d/02_network
index d24fb23505..1da97a8fa3 100644
--- a/target/linux/qualcommax/ipq807x/base-files/etc/board.d/02_network
+++ b/target/linux/qualcommax/ipq807x/base-files/etc/board.d/02_network
@@ -23,6 +23,7 @@ ipq807x_setup_interfaces()
 	compex,wpq873|\
 	linksys,mx4200v1|\
 	linksys,mx4200v2|\
+	prpl,haze|\
 	redmi,ax6|\
 	xiaomi,ax3600)
 		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
@@ -45,9 +46,6 @@ ipq807x_setup_interfaces()
 	netgear,wax630)
 		ucidef_set_interface_lan "lan1 lan2" "dhcp"
 		;;
-	prpl,haze)
-		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
-		;;
 	qnap,301w)
 		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 10g-2" "10g-1"
 		;;




More information about the lede-commits mailing list