ipq807x: CIG WF188n: wrong wan mac address

eth0 is configured as WAN but set with LAN mac.

Fixes: WIFI-12869
Signed-off-by: Ken <xshi@actiontec.com>
This commit is contained in:
Ken
2023-08-08 10:13:51 +08:00
committed by John Crispin
parent 54e8411980
commit f7a766be20

View File

@@ -153,7 +153,6 @@ qcom_setup_macs()
local board="$1"
case $board in
cig,wf188n|\
cig,wf194c|\
cig,wf194c4)
mtd=$(find_mtd_chardev "0:APPSBLENV")
@@ -189,6 +188,7 @@ qcom_setup_macs()
ucidef_set_network_device_mac eth0 $wan_mac
ucidef_set_label_macaddr $wan_mac
;;
cig,wf188n|\
cig,wf196)
mtd=$(find_mtd_chardev "0:APPSBLENV")
[ -z "$mtd" ] && return;