summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-09-17 05:55:45 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-09-23 17:35:51 +0200
commitd8caa83967d62c05f406d34abaaf2e1baa172c6c (patch)
tree747f3b9de52d0c48b08782ddcdbe634394f424d5 /drivers
parentath9k: Restore TSF after RESET (diff)
downloadlinux-d8caa83967d62c05f406d34abaaf2e1baa172c6c.tar.xz
linux-d8caa83967d62c05f406d34abaaf2e1baa172c6c.zip
ath9k: Fix chip wakeup issue
Waking up the chip after powering it down fails sometimes. In this case the CPU is locked for 200ms. Reduce this interval to 10ms to avoid excessive busy looping. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-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 75c3041aadcb..b89234571829 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -106,7 +106,7 @@
#define AH_TSF_WRITE_TIMEOUT 100 /* (us) */
#define AH_TIME_QUANTUM 10
#define AR_KEYTABLE_SIZE 128
-#define POWER_UP_TIME 200000
+#define POWER_UP_TIME 10000
#define SPUR_RSSI_THRESH 40
#define CAB_TIMEOUT_VAL 10