patch-2.1.127 linux/drivers/isdn/sc/message.c

Next file: linux/drivers/macintosh/macserial.c
Previous file: linux/drivers/isdn/sc/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/isdn/sc/message.c linux/drivers/isdn/sc/message.c
@@ -267,8 +267,7 @@
 	/* wait for the response */
 	while (tries < timeout) {
 		current->state = TASK_INTERRUPTIBLE;
-		current->timeout = jiffies + 1; 
-		schedule();
+		schedule_timeout(1);
 		
 		pr_debug("SAR waiting..\n");
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov