]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] net/farsync: add set_current_state() before schedule_timeout()
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 20 Jun 2005 21:54:25 +0000 (23:54 +0200)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 27 Jun 2005 03:48:37 +0000 (23:48 -0400)
commit0da8b1454815862e03dae1a199936832a6e67868
treea3d5c2fa69ba12e274a07868bd2884338aeb0a65
parenta26c074c1cf130df95e9c297ef98fdd98348acf0
[PATCH] net/farsync: add set_current_state() before schedule_timeout()

Insert set_current_state() before schedule_timeout() so the
function delays as expected. Without the addition, schedule_timeout()
will return immediately.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Domen Puncer <domen@coderock.org>
drivers/net/wan/farsync.c