mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 10:02:53 +00:00
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:
@@ -153,7 +153,6 @@ qcom_setup_macs()
|
|||||||
local board="$1"
|
local board="$1"
|
||||||
|
|
||||||
case $board in
|
case $board in
|
||||||
cig,wf188n|\
|
|
||||||
cig,wf194c|\
|
cig,wf194c|\
|
||||||
cig,wf194c4)
|
cig,wf194c4)
|
||||||
mtd=$(find_mtd_chardev "0:APPSBLENV")
|
mtd=$(find_mtd_chardev "0:APPSBLENV")
|
||||||
@@ -189,6 +188,7 @@ qcom_setup_macs()
|
|||||||
ucidef_set_network_device_mac eth0 $wan_mac
|
ucidef_set_network_device_mac eth0 $wan_mac
|
||||||
ucidef_set_label_macaddr $wan_mac
|
ucidef_set_label_macaddr $wan_mac
|
||||||
;;
|
;;
|
||||||
|
cig,wf188n|\
|
||||||
cig,wf196)
|
cig,wf196)
|
||||||
mtd=$(find_mtd_chardev "0:APPSBLENV")
|
mtd=$(find_mtd_chardev "0:APPSBLENV")
|
||||||
[ -z "$mtd" ] && return;
|
[ -z "$mtd" ] && return;
|
||||||
|
|||||||
Reference in New Issue
Block a user