summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 1ba6728b2b..0e02177f70 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -57,6 +57,11 @@ case "$FIRMWARE" in
br-6475nd | rt-n56u | whr-600d | whr-1166d)
rt2x00_eeprom_extract "factory" 32768 512
;;
+ tiny-ac)
+ local wifi_mac=$(mtd_get_mac_ascii u-boot-env INIC_MAC_ADDR)
+ rt2x00_eeprom_extract "factory" 0 512
+ rt2x00_eeprom_set_macaddr $wifi_mac
+ ;;
esac
;;
esac