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
- Lines: 10
- Date:
Thu Nov 5 09:58:44 1998
- Orig file:
v2.1.126/linux/drivers/isdn/sc/message.c
- Orig date:
Wed Apr 1 20:11:52 1998
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