mediatek: fix the incorrect network port sequence of the redmi AX6000 (#121)

This commit is contained in:
ssm1588 2023-09-22 01:09:53 +08:00 committed by GitHub
parent 53eae01db7
commit bc37b40aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ mediatek_setup_interfaces()
xiaomi,redmi-router-ax6000*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:wan" "6u@eth0" "5u@eth1"
"1:lan:4" "2:lan:3" "3:lan:2" "4:wan" "6u@eth0" "5u@eth1"
;;
*)
ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3 lan4 lan5" eth1