patch-2.1.127 linux/drivers/isdn/hisax/asuscom.c
Next file: linux/drivers/isdn/hisax/diva.c
Previous file: linux/drivers/isdn/hisax/arcofi.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Nov 5 09:58:43 1998
- Orig file:
v2.1.126/linux/drivers/isdn/hisax/asuscom.c
- Orig date:
Wed Apr 1 20:11:50 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/isdn/hisax/asuscom.c linux/drivers/isdn/hisax/asuscom.c
@@ -201,12 +201,10 @@
save_flags(flags);
sti();
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + 1;
- schedule();
+ schedule_timeout(1);
byteout(cs->hw.asus.adr, 0); /* Reset Off */
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + 1;
- schedule();
+ schedule_timeout(1);
restore_flags(flags);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov