aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-22 12:26:51 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-22 15:58:56 -0500
commitf8afa42b01c7a9f45b7cbaadb0481a0eeb96f18d (patch)
treea6c72acdc23c5b037a12daa4379432eeacb915ab /drivers/net/wireless/ath
parent02d2ebb2a0aa2cae0446289c8f927067aec06079 (diff)
ath9k_htc: fix eeprom access
wireless-testing commit a05b5d45049d60a06a1b12976150572304a51928 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>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index 8f05fc98721..f214e8e581c 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -639,6 +639,7 @@ static int ath9k_init_priv(struct ath9k_htc_priv *priv,
639 639
640 ah->hw_version.devid = devid; 640 ah->hw_version.devid = devid;
641 ah->hw_version.subsysid = 0; /* FIXME */ 641 ah->hw_version.subsysid = 0; /* FIXME */
642 ah->ah_flags |= AH_USE_EEPROM;
642 priv->ah = ah; 643 priv->ah = ah;
643 644
644 common = ath9k_hw_common(ah); 645 common = ath9k_hw_common(ah);