patch-1.3.78 linux/drivers/char/cyclades.c

Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/cdrom/optcd_isp16.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/drivers/char/cyclades.c linux/drivers/char/cyclades.c
@@ -2376,7 +2376,7 @@
     if (info->flags & ASYNC_CALLOUT_ACTIVE)
 	info->callout_termios = *tty->termios;
     if (info->flags & ASYNC_INITIALIZED)
-	tty_wait_until_sent(tty, 3000); /* 30 seconds timeout */
+	tty_wait_until_sent(tty, 30*HZ); /* 30 seconds timeout */
     shutdown(info);
     if (tty->driver.flush_buffer)
 	tty->driver.flush_buffer(tty);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this