ramips: add support for YunCore FAP690
[openwrt/openwrt.git] / target / linux / ramips / mt7621 / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
index ca69745ba6fda40fe9549a23e36fcf3579c50017..ff3ee281b2984436c7fb4a9f366f66666d2eecaf 100644 (file)
@@ -126,7 +126,8 @@ case "$board" in
                [ "$PHYNBR" = "1" ] && \
                        macaddr_setbit_la "$(mtd_get_mac_binary Factory 0xe000)" > /sys${DEVPATH}/macaddress
                ;;
-       yuncore,fap640)
+       yuncore,fap640|\
+       yuncore,fap690)
                hw_mac_addr="$(mtd_get_mac_binary Factory 0x4)"
                [ "$PHYNBR" = "0" ] && macaddr_setbit_la "$hw_mac_addr" > /sys${DEVPATH}/macaddress
                [ "$PHYNBR" = "1" ] && echo -n "$hw_mac_addr" > /sys${DEVPATH}/macaddress