mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-02 03:56:49 +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)
|
cmcc,rax3000m)
|
||||||
case "$(cmdline_get_var root)" in
|
case "$(cmdline_get_var root)" in
|
||||||
/dev/mmc*)
|
/dev/mmc*)
|
||||||
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=$wan_mac
|
label_mac=$wan_mac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user