ath79: add support for gl-e750
[openwrt/openwrt.git] / target / linux / ath79 / nand / base-files / etc / hotplug.d / ieee80211 / 10-fix-wifi-mac
index 6c61e5df00735061dbae4fa975bc6afc455f0a6f..730a5f99431a362a98c919f8e6141a9188f363f4 100644 (file)
@@ -10,6 +10,11 @@ PHYNBR=${DEVPATH##*/phy}
 board=$(board_name)
 
 case $board in
+       glinet,gl-e750)
+               # Set mac address for 5g device
+               [ "$PHYNBR" -eq 0 ] && \
+                       macaddr_add $(mtd_get_mac_binary art 0x0) 2 > /sys${DEVPATH}/macaddress
+               ;;
        zyxel,nbg6716)
                # Set mac address for 2.4g device
                [ "$PHYNBR" -eq 1 ] && \