projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d2ebb
)
ath9k_htc: fix eeprom access
author
Felix Fietkau
<
[email protected]
>
Mon, 22 Nov 2010 17:26:51 +0000
(18:26 +0100)
committer
John W. Linville
<
[email protected]
>
Mon, 22 Nov 2010 20:58:56 +0000
(15:58 -0500)
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 <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/htc_drv_init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index 8f05fc98721c461e4638747a15f36abdf98cb8e2..f214e8e581ca7fd1b58a2c471135b1d6e6b5805a 100644
(file)
--- 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,
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);