The MAC address assigned to lan/wan was reversed on eMMC boards.
Fixes: d3c193525e62 ("mediatek: add CMCC RAX3000M support")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/15077
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
cmcc,rax3000m)
case "$(cmdline_get_var root)" in
/dev/mmc*)
- wan_mac=$(mmc_get_mac_binary factory 0x2a)
- lan_mac=$(mmc_get_mac_binary factory 0x24)
+ wan_mac=$(mmc_get_mac_binary factory 0x24)
+ lan_mac=$(mmc_get_mac_binary factory 0x2a)
label_mac=$wan_mac
;;
esac