ath79: speed up ath9k-eeprom extraction
authorDmitry Tunin <hanipouspilot@gmail.com>
Fri, 22 Feb 2019 12:30:39 +0000 (15:30 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 2 Mar 2019 11:59:48 +0000 (12:59 +0100)
commit21e90685b624003c9b91d69420245d0164eddc8d
tree7e64cde3b9e44770f206f66b40b25bffe8d3b4ff
parent4c70ac7be484cdcb31e76ac802fb629dad4456e4
ath79: speed up ath9k-eeprom extraction

This is a simple copy of ipq40xx: speed up ath10k-caldata
extraction commit a69e101ed1169f562fc030a783cd997d3f066b16

Tested on DIR-825-B1

3768+0 records in
3768+0 records out
real 0m 11.90s
user 0m 0.03s
sys 0m 9.94s

1+0 records in
1+0 records out
real 0m 0.03s
user 0m 0.00s
sys 0m 0.03s

With this change eeprom extraction is fast enough to get
working Wi-Fi after initial install.

Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom