patch-2.4.3 linux/drivers/net/wan/sdla_x25.c

Next file: linux/drivers/net/wan/sdladrv.c
Previous file: linux/drivers/net/wan/sdla_ppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/net/wan/sdla_x25.c linux/drivers/net/wan/sdla_x25.c
@@ -929,7 +929,7 @@
  *
  * Notes:
  * 1. When allocating a socket buffer, if M-bit is set then more data is
- *    comming and we have to allocate buffer for the maximum IP packet size
+ *    coming and we have to allocate buffer for the maximum IP packet size
  *    expected on this channel.
  * 2. If something goes wrong and X.25 packet has to be dropped (e.g. no
  *    socket buffers available) the whole packet sequence must be discarded.
@@ -1001,7 +1001,7 @@
 	memcpy(bufptr, rxmb->data, len);
 
 	if (qdm & 0x01)
-		return;		/* more data is comming */
+		return;		/* more data is coming */
 
 	dev->last_rx = jiffies;		/* timestamp */
 	chan->rx_skb = NULL;		/* dequeue packet */
@@ -1153,7 +1153,7 @@
 	{
 		wanpipe_set_state(card, WAN_CONNECTED);
 		x25_set_intr_mode(card, 0x83);	/* enable Rx interrupts */
-		status->imask &= ~0x2;		/* mask Tx interupts */
+		status->imask &= ~0x2;		/* mask Tx interrupts */
 	}
 	else if ((jiffies - card->state_tick) > CONNECT_TIMEOUT)
 	    disconnect(card);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)