wl1251: reduce ELP wakeup timeout
authorKalle Valo <kalle.valo@nokia.com>
Mon, 30 Nov 2009 08:17:59 +0000 (10:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 23:55:50 +0000 (18:55 -0500)
The original TI driver uses 100 ms timeout ELP wakeup timeout, better
to use the same. Otherwise problems with wakeup might get unnoticed.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_ps.c

index 9931b197ff77c42c3d6aad6ce6964ff4d16a42b1..54a27200f3b6657d414aeab14a1e2af142e5cb95 100644 (file)
@@ -26,7 +26,8 @@
 #include "wl1251_cmd.h"
 #include "wl1251_io.h"
 
-#define WL1251_WAKEUP_TIMEOUT 2000
+/* in ms */
+#define WL1251_WAKEUP_TIMEOUT 100
 
 void wl1251_elp_work(struct work_struct *work)
 {