mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
mediatek: fix lan/wan macaddr for cmcc rax3000m
The MAC address assigned to lan/wan was reversed on eMMC boards.
Fixes: d3c193525e
("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>
This commit is contained in:
parent
a591f9cd14
commit
cce5b49de4
@ -129,8 +129,8 @@ mediatek_setup_macs()
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user