lantiq: fix patching the wifi mac address on BTHOMEHUBV3A
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 12 Feb 2017 22:29:16 +0000 (22:29 +0000)
committerMathias Kresin <dev@kresin.me>
Mon, 13 Feb 2017 06:57:15 +0000 (07:57 +0100)
commit70395ae8cbe0bc7d0d0b27b5088b9ac4b2f67f86
tree01b7b4100bec67f707485ef3da3c33386e3dcf9c
parent4c09f996054ca1fa2bbef6b4ef8acec3f466e839
lantiq: fix patching the wifi mac address on BTHOMEHUBV3A

The firmware hotplug script tries to read the mac address from a
partition with the name "uboot-env" which does not exist (instead it's
name is uboot_env). This broke calculation of the new checksum (after
patching the mac address) which resulted in ath9k refusing to use the
EEPROM data.

The original error reported by ath9k was:
PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
ath: phy0: Bad EEPROM checksum 0x2523
ath: phy0: Unable to initialize hardware; initialization status: -22
ath9k 0000:00:0e.0: Failed to initialize device

Fixes: a20616863d32d9 ("lantiq: use ath9k device tree bindings
binding/owl-loader")

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom