[openwrt/openwrt] ath79: generic: fix the alphabetical order in 02_network
LEDE Commits
lede-commits at lists.infradead.org
Fri Feb 16 05:10:14 PST 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b0b8fd436fd457dad69c157a830e11d6d5c486fd
commit b0b8fd436fd457dad69c157a830e11d6d5c486fd
Author: Foica David <superh552 at gmail.com>
AuthorDate: Wed Feb 14 23:32:27 2024 +0200
ath79: generic: fix the alphabetical order in 02_network
This commit fixes the alphabetical order in 02_network.
The 2 deco devices in ath79_setup_interfaces() were in the wrong place.
Signed-off-by: Foica David <superh552 at gmail.com>
---
target/linux/ath79/generic/base-files/etc/board.d/02_network | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index 01747acae0..4ed5605fa2 100644
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -496,6 +496,11 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0 at eth1" "3:lan:3" "4:lan:2" "5:lan:1" "6 at eth0" "2:wan:4" "1:wan:5"
;;
+ tplink,deco-m4r-v1|\
+ tplink,deco-s4-v2)
+ ucidef_add_switch "switch0" \
+ "0 at eth0" "3:lan:1" "5:lan:2"
+ ;;
tplink,eap225-wall-v2)
ucidef_add_switch "switch0" \
"0 at eth0" "1:lan" "2:lan" "3:lan" "4:lan"
@@ -572,11 +577,6 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0 at eth0" "1:lan" "2:lan"
;;
- tplink,deco-m4r-v1|\
- tplink,deco-s4-v2)
- ucidef_add_switch "switch0" \
- "0 at eth0" "3:lan:1" "5:lan:2"
- ;;
hiwifi,hc6361|\
xiaomi,mi-router-4q|\
zbtlink,zbt-wd323)
More information about the lede-commits
mailing list