[openwrt/openwrt] mediatek: fix lan/wan macaddr for jdcloud re-cp-03
LEDE Commits
lede-commits at lists.infradead.org
Mon Jul 15 07:42:15 PDT 2024
rmilecki pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/84ecd7c939b1ae536d2ad993dbcd8ad496e1a0cb
commit 84ecd7c939b1ae536d2ad993dbcd8ad496e1a0cb
Author: Tianling Shen <cnsztl at immortalwrt.org>
AuthorDate: Thu Jun 6 17:08:48 2024 +0800
mediatek: fix lan/wan macaddr for jdcloud re-cp-03
The MAC address assigned to lan/wan was reversed.
Fixes: 6e51ff88b053 ("mediatek: add support for JDCloud RE-CP-03")
Signed-off-by: Tianling Shen <cnsztl at immortalwrt.org>
---
target/linux/mediatek/filogic/base-files/etc/board.d/02_network | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
index 421b911fbd..b38370fcba 100644
--- a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
@@ -145,9 +145,9 @@ mediatek_setup_macs()
label_mac=$wan_mac
;;
jdcloud,re-cp-03)
- wan_mac=$(mmc_get_mac_binary factory 0x2a)
- lan_mac=$(mmc_get_mac_binary factory 0x24)
- label_mac=$lan_mac
+ wan_mac=$(mmc_get_mac_binary factory 0x24)
+ lan_mac=$(mmc_get_mac_binary factory 0x2a)
+ label_mac=$wan_mac
;;
mercusys,mr90x-v1)
label_mac=$(get_mac_binary "/tmp/tp_data/default-mac" 0)
More information about the lede-commits
mailing list