qualcommax: ipq807x: reordering, combine the same commands
authorPaweł Owoc <frut3k7@gmail.com>
Thu, 30 Nov 2023 23:30:20 +0000 (00:30 +0100)
committerPaweł Owoc <frut3k7@gmail.com>
Fri, 23 Feb 2024 09:52:52 +0000 (10:52 +0100)
Reordering, combine the same commands for ipq807x devices

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
target/linux/qualcommax/ipq807x/base-files/etc/board.d/02_network

index d24fb235055bd772bcde23eab29071f0bb8849b3..1da97a8fa37d9f4276ca310dbf2a4f9ead98e531 100644 (file)
@@ -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"
                ;;