mediatek: add support for TP-Link TL-XDR4288/608x
[openwrt/staging/dedeckeh.git] / target / linux / mediatek / filogic / base-files / etc / hotplug.d / ieee80211 / 11_fix_wifi_mac
index ecaf2eadcdb8af2ce28f78768b598e5a822d2f41..b4c1c8f1d042a1d2850b3e8c82b6a47b6875b8a0 100644 (file)
@@ -24,4 +24,9 @@ case "$board" in
                [ "$PHYNBR" = "0" ] && macaddr_unsetbit $addr 6 > /sys${DEVPATH}/macaddress
                [ "$PHYNBR" = "1" ] && macaddr_setbit $addr 6 > /sys${DEVPATH}/macaddress
                ;;
+       tplink,tl-xdr4288|\
+       tplink,tl-xdr6086|\
+       tplink,tl-xdr6088)
+               [ "$PHYNBR" = "0" ] && get_mac_label > /sys${DEVPATH}/macaddress
+               ;;
 esac