ath9k_hw: ignore eeprom magic mismatch on flash based devices
authorFelix Fietkau <nbd@openwrt.org>
Thu, 21 Jan 2016 15:34:08 +0000 (16:34 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 25 Jan 2016 13:33:25 +0000 (15:33 +0200)
commit65dc1a5d1efb0ec54ffb715468070890d27d63fc
tree72843b2b347588a58008509545ca9c70cafc0294
parente0045bf80f62779ba75ba04513020d60e59f5298
ath9k_hw: ignore eeprom magic mismatch on flash based devices

Many AR913x based devices (maybe others too) do not have a valid EEPROM
magic in their calibration data partition.

Fixes: 6fa658fd5ab2 ("ath9k: Simplify and fix eeprom endianness swapping")
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/eeprom.c