Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
wl1251: Prevent system from sleeping for 1 sec after new packet arrival
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
  • Loading branch information
Dmitry Shmidt committed Feb 24, 2010
1 parent dc1e3df commit dd3a45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sta_dk_4_0_4_32/pform/linux/src/esta_drv.c
Expand Up @@ -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
Expand Down

0 comments on commit dd3a45e

Please sign in to comment.