ramips: replace MAC address configuration for I-O DATA WN-AC-GR devices
[openwrt/staging/chunkeey.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index 49284f562dd11448f35509dd9ddf75bea1e97cb2..981d6c2596b02f5278dc008ec9ec255d68922d2a 100755 (executable)
@@ -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|\