diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-24 14:05:04 -0800 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-24 14:05:04 -0800 |
commit | dd3a45e0b76921bc4aeabd1fdc9f84c2ae3ef8c7 (patch) | |
tree | c26f12f16b480ab2a789282738f7d82a0c4a6de3 /sta_dk_4_0_4_32/pform/linux/src/esta_drv.c | |
parent | dc1e3dffadd6bae6b8f9c29a3bd00c59ab59c7bd (diff) | |
download | ti-dd3a45e0b76921bc4aeabd1fdc9f84c2ae3ef8c7.tar.gz |
wl1251: Prevent system from sleeping for 1 sec after new packet arrival
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'sta_dk_4_0_4_32/pform/linux/src/esta_drv.c')
-rw-r--r-- | sta_dk_4_0_4_32/pform/linux/src/esta_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c b/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c index 763a376..a968e20 100644 --- a/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c +++ b/sta_dk_4_0_4_32/pform/linux/src/esta_drv.c @@ -960,7 +960,7 @@ static void tiwlan_irq_handler( struct work_struct *work ) if( drv->receive_packet ) { drv->receive_packet = 0; /* Keep awake for 500 ms to give a chance to network stack */ - android_lock_suspend_auto_expire( &drv->rx_wake_lock, (HZ >> 1) ); + android_lock_suspend_auto_expire( &drv->rx_wake_lock, HZ ); } android_unlock_suspend( &drv->exec_wake_lock ); #endif |