aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2019-08-19 13:45:25 +0900
committerChuanhong Guo <gch981213@gmail.com>2019-09-25 14:44:36 +0800
commit6c3ae072dce1fc42224fc291e6eae2bd0008fb64 (patch)
tree4046704c593fb8821aa7c69c34999e4007620931
parentb7ec6659a14d1a11e52b56235274b3e46d22e331 (diff)
downloadupstream-6c3ae072dce1fc42224fc291e6eae2bd0008fb64.tar.gz
upstream-6c3ae072dce1fc42224fc291e6eae2bd0008fb64.tar.bz2
upstream-6c3ae072dce1fc42224fc291e6eae2bd0008fb64.zip
ramips: replace MAC address configuration for I-O DATA WN-AC-GR devices
following I-O DATA devices have a MAC address as "wanaddr" for WAN interface in u-boot-env: - WN-AC1167GR - WN-AC733GR3 I replaced MAC address configuration in these devices to omit address calculation in 02_network. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
1 files changed, 1 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 49284f562d..981d6c2596 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -663,7 +663,7 @@ ramips_setup_macs()
;;
iodata,wn-ac1167gr|\
iodata,wn-ac733gr3)
- wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x4)" -1)
+ wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr)
;;
iodata,wn-ax1167gr|\
iodata,wn-gx300gr|\