Skip to content

Commit

Permalink
ath9k_htc: fix eeprom access
Browse files Browse the repository at this point in the history
wireless-testing commit a05b5d4
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>
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Nov 22, 2010
1 parent 02d2ebb commit f8afa42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/ath/ath9k/htc_drv_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f8afa42

Please sign in to comment.