ramips: fix lan and wan mac addresses for Cudy WR1000

Lan and Wan addresses are swapped compared to the original firmware.
This patch fixes this problem

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
This commit is contained in:
Davide Fioravanti 2019-08-11 00:38:53 +02:00
parent 920abb9b58
commit 0891358e4b
2 changed files with 2 additions and 1 deletions

View File

@ -505,6 +505,7 @@ ramips_setup_macs()
8devices,carambola|\
alfa-network,w502u|\
arcwireless,freestation5|\
cudy,wr1000|\
netgear,wnce2001)
wan_mac=$(mtd_get_mac_binary factory 46)
;;

View File

@ -139,6 +139,6 @@
};
&ethernet {
mtd-mac-address = <&factory 0x2e>;
mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "llllw";
};