aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-07 14:18:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-07 14:18:36 +0000
commit32dea5d2a93ed1efa10052746fb932b3a2d67770 (patch)
tree0e247350029e6baaa9fc300f0b12df1c2befbaff /target/linux/mpc85xx/base-files
parent50885a7867d4ff5cf55686ed78c6dcb0fc04772a (diff)
downloadupstream-32dea5d2a93ed1efa10052746fb932b3a2d67770.tar.gz
upstream-32dea5d2a93ed1efa10052746fb932b3a2d67770.tar.bz2
upstream-32dea5d2a93ed1efa10052746fb932b3a2d67770.zip
mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48645
Diffstat (limited to 'target/linux/mpc85xx/base-files')
-rwxr-xr-xtarget/linux/mpc85xx/base-files/etc/board.d/02_network1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/base-files/etc/board.d/02_network b/target/linux/mpc85xx/base-files/etc/board.d/02_network
index 4c7206c14a..c9645abb7b 100755
--- a/target/linux/mpc85xx/base-files/etc/board.d/02_network
+++ b/target/linux/mpc85xx/base-files/etc/board.d/02_network
@@ -14,6 +14,7 @@ case "$board" in
tl-wdr4900-v1)
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"
+ ucidef_set_interface_macaddr wan "$(mtd_get_mac_binary config 332)"
;;
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"