ramips: rename mtd partition of ipTIME NAND devices
[openwrt/staging/mans0n.git] / target / linux / ramips / mt7621 / base-files / etc / board.d / 02_network
index ae29da4adc3f768991067a243ee4f9abe873817d..d0481b78e90134d06b54c93c5182ee725a590c3d 100644 (file)
@@ -260,7 +260,7 @@ ramips_setup_macs()
                label_mac=$wan_mac
                ;;
        iptime,t5004)
-               lan_mac=$(mtd_get_mac_ascii config ethaddr)
+               lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr)
                wan_mac=$(macaddr_add "$lan_mac" 1)
                ;;
        linksys,e5600|\