patch-2.4.21 linux-2.4.21/drivers/net/wan/8253x/8253xtty.c
Next file: linux-2.4.21/drivers/net/wan/Config.in
Previous file: linux-2.4.21/drivers/net/via-rhine.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:35.000000000 -0700
- Orig file:
linux-2.4.20/drivers/net/wan/8253x/8253xtty.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.20/drivers/net/wan/8253x/8253xtty.c linux-2.4.21/drivers/net/wan/8253x/8253xtty.c
@@ -2131,7 +2131,7 @@
/* Check whether or not the port is open in SYNC mode */
if(port->open_type == OPEN_SYNC_NET)
{
- if(port->dev && netif_carrier_ok(port->dev));
+ if(port->dev && netif_carrier_ok(port->dev))
{
port->tty= NULL; /* Don't bother with open counting here
but make sure the tty field is NULL*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)