diff options
author | Mathias Kresin <dev@kresin.me> | 2016-12-05 09:21:29 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-12-08 19:36:53 +0100 |
commit | ee5a6c10410b25adc6d400780953388035135fed (patch) | |
tree | 6275e1b710f869dade63e4cebfa985d8a48bbc5c /include/scan.awk | |
parent | afa37092663d00aa0abf8c61943d9a1b5558b144 (diff) | |
download | upstream-ee5a6c10410b25adc6d400780953388035135fed.tar.gz upstream-ee5a6c10410b25adc6d400780953388035135fed.tar.bz2 upstream-ee5a6c10410b25adc6d400780953388035135fed.zip |
lantiq: simplify ath9k eeprom extraction script
Add an extra function to patch the mac and fixup the checksum
afterwards. Calculate the checksum position automatically. The offset
to the mac address is the same for all checksum protected EEPROMs.
No EEPROM requires a byte swapped mac address. The mac byte swap code
was required due to an bug in the script that is now fixed.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'include/scan.awk')
0 files changed, 0 insertions, 0 deletions