dect
/
linux-2.6
Archived
13
0
Fork 0

ath9k_htc: fix eeprom access

wireless-testing commit a05b5d4504
ath9k: add support for reading eeprom from platform data on PCI devices

This change moved the initialization of the AH_USE_EEPROM flag from ath9k_hw
to ath9k. This needs to be added to ath9k_htc as well

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Felix Fietkau 2010-11-22 18:26:51 +01:00 committed by John W. Linville
parent 02d2ebb2a0
commit f8afa42b01
1 changed files with 1 additions and 0 deletions

View File

@ -639,6 +639,7 @@ static int ath9k_init_priv(struct ath9k_htc_priv *priv,
ah->hw_version.devid = devid;
ah->hw_version.subsysid = 0; /* FIXME */
ah->ah_flags |= AH_USE_EEPROM;
priv->ah = ah;
common = ath9k_hw_common(ah);