diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-24 14:08:12 -0800 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-24 14:08:12 -0800 |
commit | 3992c00dacad93b3dd2f4f9608e518e05dd05ad4 (patch) | |
tree | b71fea82fff50b28e2eb532546107ecbacdc3915 | |
parent | 8738984310461378d69db98d8fa75d38c43dd60e (diff) | |
download | wlan-3992c00dacad93b3dd2f4f9608e518e05dd05ad4.tar.gz |
wl1271: Prevent system from sleeping for 1 sec after new packet arrival
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | wl1271/platforms/os/linux/src/osapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wl1271/platforms/os/linux/src/osapi.c b/wl1271/platforms/os/linux/src/osapi.c index 833281af..e1af9c72 100644 --- a/wl1271/platforms/os/linux/src/osapi.c +++ b/wl1271/platforms/os/linux/src/osapi.c @@ -593,7 +593,7 @@ void os_InterruptServiced (TI_HANDLE OsContext) /*----------------------------------------------------------------------------- Routine Name: os_wake_lock_timeout -Routine Description: Called to prevent system from suspend for some time +Routine Description: Called to prevent system from suspend for 1 sec Arguments: OsContext - handle to OS context @@ -611,7 +611,7 @@ int os_wake_lock_timeout (TI_HANDLE OsContext) if (drv->wl_packet) { drv->wl_packet = 0; #ifdef CONFIG_HAS_WAKELOCK - wake_lock_timeout(&drv->wl_rxwake, (HZ >> 1)); + wake_lock_timeout(&drv->wl_rxwake, HZ); #endif } spin_unlock_irqrestore(&drv->lock, flags); |