ath79: add support for D-Link DAP-3662 A1
[openwrt/openwrt.git] / target / linux / ath79 / generic / base-files / lib / preinit / 10_fix_eth_mac.sh
index ad7372eb037af5cb80d9837632c8c6241250b71f..c2c79133420deaee6ed4b673e73eb267c845f58c 100644 (file)
@@ -7,7 +7,8 @@ preinit_set_mac_address() {
        avm,fritzdvbc)
                ip link set dev eth0 address $(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
                ;;
-       dlink,dap-2695-a1)
+       dlink,dap-2695-a1|\
+       dlink,dap-3662-a1)
                ip link set dev eth0 address $(mtd_get_mac_ascii bdcfg "lanmac")
                ip link set dev eth1 address $(mtd_get_mac_ascii bdcfg "wanmac")
                ;;