patch-2.1.127 linux/drivers/isdn/avmb1/b1capi.c

Next file: linux/drivers/isdn/hisax/arcofi.c
Previous file: linux/drivers/isdn/act2000/act2000_isa.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/isdn/avmb1/b1capi.c linux/drivers/isdn/avmb1/b1capi.c
@@ -965,9 +965,8 @@
 
 		while (card->cardstate != CARD_RUNNING) {
 
-			current->timeout = jiffies + HZ / 10;	/* 0.1 sec */
 			current->state = TASK_INTERRUPTIBLE;
-			schedule();
+			schedule_timeout(HZ/10);	/* 0.1 sec */
 
 			if (signal_pending(current))
 				return -EINTR;

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