ath79: remove invalid uses of ath9k_patch_fw_mac_crc
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 18 Sep 2019 15:11:06 +0000 (17:11 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 21 Sep 2019 22:17:51 +0000 (00:17 +0200)
commit0b9f3c28ef6c37b42abdd02c19c96fe34d81ea33
tree66e417eab80ad3c81389229dfbb35d5636dcdd87
parent26c0bec13b718ca5a952a0f43b5017f6750c0be5
ath79: remove invalid uses of ath9k_patch_fw_mac_crc

Some ar9344-based devices are using ath9k_patch_fw_mac_crc, which
is meant to generate a checksum, for fixing their ath9k MAC
addresses.
However, those do not have a checksum field, and the calculated
checksum offset would be negative.

This patch will use ath9k_patch_fw_mac function for those devices.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit f8d8b3f85d70a85d4fabc9b8ed4dbc8020be0523)
target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom