WIFI-14490 WF189 eth1 and eth0 swapped on 12.5

Signed-off-by: Ken <xshi@actiontec.com>
This commit is contained in:
Ken
2025-03-26 19:14:17 +08:00
committed by John Crispin
parent 7eae0397f1
commit b181add059

View File

@@ -35,8 +35,8 @@ qcom_setup_macs()
[ -z "$mac" ] && return;
wan_mac=$(macaddr_canonicalize $mac)
lan_mac=$(macaddr_add "$wan_mac" 1)
ucidef_set_network_device_mac eth0 $lan_mac
ucidef_set_network_device_mac eth1 $wan_mac
ucidef_set_network_device_mac eth0 $wan_mac
ucidef_set_network_device_mac eth1 $lan_mac
ucidef_set_label_macaddr $wan_mac
ucidef_set_wireless_macaddr_base 2g $(macaddr_add "$wan_mac" 2)
ucidef_set_wireless_macaddr_base 5g $(macaddr_add "$wan_mac" 3)