]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
ath9k: Fix chip wakeup issue
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 17 Sep 2009 03:55:45 +0000 (09:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Sep 2009 15:35:51 +0000 (11:35 -0400)
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>
drivers/net/wireless/ath/ath9k/hw.h

index 75c3041aadcb8b35fb6fcaaec7a7c23800151bbd..b8923457182992df11bc43c90e39ae5b3bff8d4a 100644 (file)
 #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