ramips: TP-Link EC330-G5u v1: switch to mac-address-ascii
[openwrt/staging/hauke.git] / target / linux / ramips / mt7621 / base-files / etc / hotplug.d / ieee80211 / 10_fix_wifi_mac
index 9db115fcae6566325f35f9cf931b3144584c63ca..746a88bd12f43692bc96bf84e0f6dfeed7912a52 100644 (file)
@@ -161,11 +161,6 @@ case "$board" in
                hw_mac_addr="$(mtd_get_mac_binary product-info 0x8)"
                macaddr_add "$hw_mac_addr" "$PHYNBR" > "/sys${DEVPATH}/macaddress"
                ;;
-       tplink,ec330-g5u-v1)
-               hw_mac_addr="$(mtd_get_mac_text factory 0x165)"
-               [ "$PHYNBR" = "0" ] && echo -n $hw_mac_addr > /sys${DEVPATH}/macaddress
-               [ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr 2 > /sys${DEVPATH}/macaddress
-               ;;
        yuncore,ax820)
                [ "$PHYNBR" = "1" ] && \
                        macaddr_setbit_la "$(mtd_get_mac_binary Factory 0xe000)" > /sys${DEVPATH}/macaddress