qualcommax: ipq807x: use ath11k_patch_mac and ath11k_remove_regdomain for MX4200
[openwrt/staging/blocktrron.git] / target / linux / qualcommax / ipq807x / base-files / etc / hotplug.d / ieee80211 / 11_fix_wifi_mac
index dd85dcfe98c921e1725cafc4122f5dfd2c21c6b0..17284a0d9ea82ba9108ef30f8f741cc0bb2b23a1 100644 (file)
@@ -23,13 +23,6 @@ case "$board" in
                [ "$PHYNBR" = "0" ] && macaddr_add $(get_mac_label) 2 > /sys${DEVPATH}/macaddress
                [ "$PHYNBR" = "1" ] && macaddr_add $(get_mac_label) 3 > /sys${DEVPATH}/macaddress
                ;;
-       linksys,mx4200v1|\
-       linksys,mx4200v2)
-               label_mac=$(mtd_get_mac_ascii devinfo hw_mac_addr)
-               [ "$PHYNBR" = "0" ] && macaddr_add $label_mac 2 > /sys${DEVPATH}/macaddress
-               [ "$PHYNBR" = "1" ] && macaddr_add $label_mac 1 > /sys${DEVPATH}/macaddress
-               [ "$PHYNBR" = "2" ] && macaddr_add $label_mac 3 > /sys${DEVPATH}/macaddress
-               ;;
        zbtlink,zbt-z800ax)
                [ "$PHYNBR" = "0" ] && macaddr_add $(get_mac_label) -1 > /sys${DEVPATH}/macaddress
                [ "$PHYNBR" = "1" ] && macaddr_add $(get_mac_label) -2 > /sys${DEVPATH}/macaddress