ramips: fix MAC address assignment for ASUS RT-AC51U
The current MAC address assignment for the ASUS RT-AC51U is "wrong", it actually should be the same as for the RT-AC54U. Fix it. Thanks to Davide Fioravanti for checking this on his device. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
0c188b6452
commit
964fad63d0
@ -117,7 +117,7 @@
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
mtd-mac-address = <&factory 0x22>;
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@ -237,7 +237,6 @@ ramips_setup_macs()
|
||||
|
||||
case $board in
|
||||
aigale,ai-br100|\
|
||||
asus,rt-ac51u|\
|
||||
asus,rt-n12p|\
|
||||
asus,rt-n14u|\
|
||||
bdcom,wap2100-sk|\
|
||||
@ -273,6 +272,10 @@ ramips_setup_macs()
|
||||
wan_mac=$(mtd_get_mac_binary factory 0x2e)
|
||||
label_mac=$(mtd_get_mac_binary factory 0x4)
|
||||
;;
|
||||
asus,rt-ac51u)
|
||||
wan_mac=$(mtd_get_mac_binary factory 0x28)
|
||||
label_mac=$wan_mac
|
||||
;;
|
||||
dlink,dch-m225)
|
||||
lan_mac=$(mtd_get_mac_ascii factory lanmac)
|
||||
;;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user