mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-02 03:56:49 +00:00
mediatek: fix lan/wan macaddr for jdcloud re-cp-03
The MAC address assigned to lan/wan was reversed.
Fixes: 6e51ff88b0
("mediatek: add support for JDCloud RE-CP-03")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
9276bb1cf5
commit
84ecd7c939
@ -145,9 +145,9 @@ mediatek_setup_macs()
|
|||||||
label_mac=$wan_mac
|
label_mac=$wan_mac
|
||||||
;;
|
;;
|
||||||
jdcloud,re-cp-03)
|
jdcloud,re-cp-03)
|
||||||
wan_mac=$(mmc_get_mac_binary factory 0x2a)
|
wan_mac=$(mmc_get_mac_binary factory 0x24)
|
||||||
lan_mac=$(mmc_get_mac_binary factory 0x24)
|
lan_mac=$(mmc_get_mac_binary factory 0x2a)
|
||||||
label_mac=$lan_mac
|
label_mac=$wan_mac
|
||||||
;;
|
;;
|
||||||
mercusys,mr90x-v1)
|
mercusys,mr90x-v1)
|
||||||
label_mac=$(get_mac_binary "/tmp/tp_data/default-mac" 0)
|
label_mac=$(get_mac_binary "/tmp/tp_data/default-mac" 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user