diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-24 14:01:54 -0800 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-24 14:01:54 -0800 |
commit | dc1e3dffadd6bae6b8f9c29a3bd00c59ab59c7bd (patch) | |
tree | 5b9568a2f4e92c6ea35be0b7c57e23f26f72f0de | |
parent | 7fc3d51bf5e021223d56304b6ac047f05acfc7bd (diff) | |
download | ti-dc1e3dffadd6bae6b8f9c29a3bd00c59ab59c7bd.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-- | wilink_6_1/platforms/os/linux/src/osapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wilink_6_1/platforms/os/linux/src/osapi.c b/wilink_6_1/platforms/os/linux/src/osapi.c index 8a84596..093e2c7 100644 --- a/wilink_6_1/platforms/os/linux/src/osapi.c +++ b/wilink_6_1/platforms/os/linux/src/osapi.c @@ -590,7 +590,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 @@ -608,7 +608,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); |