ath79: add support for Senao Engenius ESR900
[openwrt/staging/hauke.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
index 74345843f5536a9fcec19f6585ca802fbf1cf515..42fa44c30e47f6899749aecfa42501fea4f4f049 100644 (file)
@@ -35,6 +35,9 @@ case "$board" in
                [ "$PHYNBR" -eq 1 ] && \
                        mtd_get_mac_ascii bdcfg "wlanmac" > /sys${DEVPATH}/macaddress
                ;;
+       engenius,esr900)
+               macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" "$PHYNBR" > /sys${DEVPATH}/macaddress
+               ;;
        fortinet,fap-221-b)
                macaddr_add "$(mtd_get_mac_text u-boot 0x3ff80 12)" $((PHYNBR*7+1)) > /sys${DEVPATH}/macaddress
                ;;