summaryrefslogtreecommitdiff
path: root/drivers/staging/ath6kl
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2011-08-22 19:50:19 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 20:23:21 +0800
commit3a43f0ae0be710de5b3124c25d72c6a46df9b8f8 (patch)
tree0b0f467f0e3c43cf3619bc63aab0326d99dd1b8b /drivers/staging/ath6kl
parent5972fa8704be2e89cc7189dda9bde41065e02ddf (diff)
ENGR00139260-2 [ath6k wifi]add some delay after resuming
add some delay after resuming. Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'drivers/staging/ath6kl')
-rw-r--r--drivers/staging/ath6kl/os/linux/ar6000_pm.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/staging/ath6kl/os/linux/ar6000_pm.c b/drivers/staging/ath6kl/os/linux/ar6000_pm.c
index 1e0ace8b6d13..1bf1a5ae9693 100644
--- a/drivers/staging/ath6kl/os/linux/ar6000_pm.c
+++ b/drivers/staging/ath6kl/os/linux/ar6000_pm.c
@@ -1,6 +1,6 @@
/*
*
- * Copyright (c) 2004-2010 Atheros Communications Inc.
+ * Copyright (c) 2004-2011 Atheros Communications Inc.
* All rights reserved.
*
*
@@ -267,7 +267,11 @@ int ar6000_resume_ev(void *context)
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("Strange SDIO bus power mode!!\n"));
break;
}
- return 0;
+#ifdef CONFIG_HAS_WAKELOCK
+ wake_unlock(&ar6k_suspend_wake_lock);
+#endif
+ mdelay(100);
+ return A_OK;
}
void ar6000_check_wow_status(struct ar6_softc *ar, struct sk_buff *skb, bool isEvent)