ath9k_hw: support reading calibration data from flash on AR9003
authorFelix Fietkau <nbd@openwrt.org>
Wed, 17 Nov 2010 03:19:47 +0000 (04:19 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 18 Nov 2010 19:22:24 +0000 (14:22 -0500)
commitaaa13ca2428789b3c8096b5edc175d4d78b5f504
treeb0d128512a013abcc50780a1ef6c49396128f666
parenta05b5d45049d60a06a1b12976150572304a51928
ath9k_hw: support reading calibration data from flash on AR9003

Embedded boards do not have compressed EEPROM data, they use the
struct ar9003_eeprom layout, with little endian fields, so copying
the raw data to the eeprom buffer is enough.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c