summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
authorVivek Natarajan <vnatarajan@atheros.com>2009-09-17 09:24:58 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-09-23 11:35:50 -0400
commit93b1b37f6a4de8bce17f55d9cfa10ef5c8c04e8a (patch)
tree16405891b20c8d73e80812d525ec45a9f71255f5 /drivers/net/wireless/ath/ath9k/hw.h
parent6170cd5c72399f8536412ac75cba29cddc9919fb (diff)
downloadtalos-op-linux-93b1b37f6a4de8bce17f55d9cfa10ef5c8c04e8a.tar.gz
talos-op-linux-93b1b37f6a4de8bce17f55d9cfa10ef5c8c04e8a.zip
ath9k: Revamp PCIE workarounds
* Disable L1 state ONLY when device is in D3 mode. * Clear bit 22 of register 0x4004. * Handle power on/off properly Not setting the workarounds properly resulted in the disappearance of the card in certain cases. Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com> Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 9106a0b537dd..75c3041aadcb 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -650,7 +650,7 @@ void ath9k_hw_set_sta_beacon_timers(struct ath_hw *ah,
const struct ath9k_beacon_state *bs);
bool ath9k_hw_setpower(struct ath_hw *ah,
enum ath9k_power_mode mode);
-void ath9k_hw_configpcipowersave(struct ath_hw *ah, int restore);
+void ath9k_hw_configpcipowersave(struct ath_hw *ah, int restore, int power_off);
/* Interrupt Handling */
bool ath9k_hw_intrpend(struct ath_hw *ah);
OpenPOWER on IntegriCloud