patch-2.3.19 linux/drivers/net/irda/actisys.c
Next file: linux/drivers/net/irda/irport.c
Previous file: linux/drivers/net/irda/Config.in
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Sep 29 15:32:14 1999
- Orig file:
v2.3.18/linux/drivers/net/irda/actisys.c
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.18/linux/drivers/net/irda/actisys.c linux/drivers/net/irda/actisys.c
@@ -135,14 +135,14 @@
/* Wait at a few ms */
current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(2);
+ schedule_timeout(MSECS_TO_JIFFIES(20));
/* Set DTR, Set RTS */
irda_device_set_dtr_rts(idev, TRUE, TRUE);
/* Wait at a few ms again */
current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(2);
+ schedule_timeout(MSECS_TO_JIFFIES(20));
/* Go to next baudrate */
if (idev->io.dongle_id == ACTISYS_DONGLE)
@@ -174,7 +174,7 @@
/* Sleep 10-20 ms*/
current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(2);
+ schedule_timeout(MSECS_TO_JIFFIES(20));
/* Go back to normal mode */
irda_device_set_dtr_rts(idev, TRUE, TRUE);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)