ipq806x: add support for TP-Link Archer VR2600v
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
index 8a0579b747ea16b3238449b2b841bf8244934d2e..3482a09b70d778424fc43c02bac6424ce35421c2 100644 (file)
@@ -21,6 +21,9 @@ case "$board" in
        r7800)
                echo $(macaddr_add $(mtd_get_mac_binary art 6)  $(($PHYNBR + 1)) ) > /sys${DEVPATH}/macaddress
                ;;
+       vr2600v)
+               echo $(macaddr_add $(mtd_get_mac_binary default-mac 0)  $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress
+               ;;
        *)
                ;;
 esac