mediatek: add support for JDCloud RE-CP-03
[openwrt/staging/nbd.git] / target / linux / mediatek / filogic / base-files / etc / hotplug.d / ieee80211 / 11_fix_wifi_mac
index d9e0335b67f3b94df1b26eb4f34cb6d0445da6a1..937d39066c0fde87bddae7920e9ccd45b5e17969 100644 (file)
@@ -80,6 +80,9 @@ case "$board" in
                # addresses on multiple VIFs with the other radio. Use label mac to set LA bit.
                [ "$PHYNBR" = "1" ] && macaddr_setbit_la $(get_mac_label) > /sys${DEVPATH}/macaddress
                ;;
+       jdcloud,re-cp-03)
+               [ "$PHYNBR" = "1" ] && mmc_get_mac_binary factory 0xa > /sys${DEVPATH}/macaddress
+               ;;
        mercusys,mr90x-v1)
                addr=$(get_mac_binary "/tmp/tp_data/default-mac" 0)
                [ "$PHYNBR" = "0" ] && echo "$addr" > /sys${DEVPATH}/macaddress