diff options
author | Davide Fioravanti <pantanastyle@gmail.com> | 2019-08-11 00:38:53 +0200 |
---|---|---|
committer | Davide Fioravanti <pantanastyle@gmail.com> | 2019-08-11 23:16:03 +0200 |
commit | 0891358e4b71ff74226d5b8378bfb3c0cb7e666c (patch) | |
tree | 6b974954bece2372f48dd8d642b775f779770084 /target | |
parent | 920abb9b5865fe0994a5c8115cde616dac63d5ae (diff) | |
download | upstream-0891358e4b71ff74226d5b8378bfb3c0cb7e666c.tar.gz upstream-0891358e4b71ff74226d5b8378bfb3c0cb7e666c.tar.bz2 upstream-0891358e4b71ff74226d5b8378bfb3c0cb7e666c.zip |
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>
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7628an_cudy_wr1000.dts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 5fe61c31de..ca111c9d4c 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -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) ;; diff --git a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts index ff0b9badd1..ad81e8303d 100644 --- a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts +++ b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts @@ -139,6 +139,6 @@ }; ðernet { - mtd-mac-address = <&factory 0x2e>; + mtd-mac-address = <&factory 0x28>; mediatek,portmap = "llllw"; }; |