aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/i4l')
-rw-r--r--drivers/isdn/i4l/isdn_net.c2
-rw-r--r--drivers/isdn/i4l/isdn_ppp.c6
-rw-r--r--drivers/isdn/i4l/isdn_ttyfax.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/i4l/isdn_net.c b/drivers/isdn/i4l/isdn_net.c
index 90b56ed8651f..507e13d9a57c 100644
--- a/drivers/isdn/i4l/isdn_net.c
+++ b/drivers/isdn/i4l/isdn_net.c
@@ -1563,7 +1563,7 @@ isdn_net_ciscohdlck_slarp_send_keepalive(unsigned long data)
1563 *(__be32 *)(p + 4) = cpu_to_be32(CISCO_SLARP_KEEPALIVE); 1563 *(__be32 *)(p + 4) = cpu_to_be32(CISCO_SLARP_KEEPALIVE);
1564 *(__be32 *)(p + 8) = cpu_to_be32(lp->cisco_myseq); 1564 *(__be32 *)(p + 8) = cpu_to_be32(lp->cisco_myseq);
1565 *(__be32 *)(p + 12) = cpu_to_be32(lp->cisco_yourseq); 1565 *(__be32 *)(p + 12) = cpu_to_be32(lp->cisco_yourseq);
1566 *(__be16 *)(p + 16) = cpu_to_be16(0xffff); // reliablity, always 0xffff 1566 *(__be16 *)(p + 16) = cpu_to_be16(0xffff); // reliability, always 0xffff
1567 p += 18; 1567 p += 18;
1568 1568
1569 isdn_net_write_super(lp, skb); 1569 isdn_net_write_super(lp, skb);
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c
index 642d5aaf53ce..45df6675e8ed 100644
--- a/drivers/isdn/i4l/isdn_ppp.c
+++ b/drivers/isdn/i4l/isdn_ppp.c
@@ -836,7 +836,7 @@ isdn_ppp_write(int min, struct file *file, const char __user *buf, int count)
836 unsigned short hl; 836 unsigned short hl;
837 struct sk_buff *skb; 837 struct sk_buff *skb;
838 /* 838 /*
839 * we need to reserve enought space in front of 839 * we need to reserve enough space in front of
840 * sk_buff. old call to dev_alloc_skb only reserved 840 * sk_buff. old call to dev_alloc_skb only reserved
841 * 16 bytes, now we are looking what the driver want 841 * 16 bytes, now we are looking what the driver want
842 */ 842 */
@@ -1326,7 +1326,7 @@ isdn_ppp_xmit(struct sk_buff *skb, struct net_device *netdev)
1326 struct sk_buff *new_skb; 1326 struct sk_buff *new_skb;
1327 unsigned short hl; 1327 unsigned short hl;
1328 /* 1328 /*
1329 * we need to reserve enought space in front of 1329 * we need to reserve enough space in front of
1330 * sk_buff. old call to dev_alloc_skb only reserved 1330 * sk_buff. old call to dev_alloc_skb only reserved
1331 * 16 bytes, now we are looking what the driver want. 1331 * 16 bytes, now we are looking what the driver want.
1332 */ 1332 */
@@ -1674,7 +1674,7 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp,
1674 * - insert new fragment into the proper sequence slot (once that's done 1674 * - insert new fragment into the proper sequence slot (once that's done
1675 * newfrag will be set to NULL) 1675 * newfrag will be set to NULL)
1676 * - reassemble any complete fragment sequence (non-null 'start' 1676 * - reassemble any complete fragment sequence (non-null 'start'
1677 * indicates there is a continguous sequence present) 1677 * indicates there is a contiguous sequence present)
1678 * - discard any incomplete sequences that are below minseq -- due 1678 * - discard any incomplete sequences that are below minseq -- due
1679 * to the fact that sender always increment sequence number, if there 1679 * to the fact that sender always increment sequence number, if there
1680 * is an incomplete sequence below minseq, no new fragments would 1680 * is an incomplete sequence below minseq, no new fragments would
diff --git a/drivers/isdn/i4l/isdn_ttyfax.c b/drivers/isdn/i4l/isdn_ttyfax.c
index 78f7660c1d0e..4c41f191d4e2 100644
--- a/drivers/isdn/i4l/isdn_ttyfax.c
+++ b/drivers/isdn/i4l/isdn_ttyfax.c
@@ -470,7 +470,7 @@ isdn_tty_cmd_FCLASS2(char **p, modem_info * info)
470 } 470 }
471 return 0; 471 return 0;
472 } 472 }
473 /* BADMUL=value - dummy 0=disable errorchk disabled (treshold multiplier) */ 473 /* BADMUL=value - dummy 0=disable errorchk disabled (threshold multiplier) */
474 if (!strncmp(p[0], "BADMUL", 6)) { 474 if (!strncmp(p[0], "BADMUL", 6)) {
475 p[0] += 6; 475 p[0] += 6;
476 switch (*p[0]) { 476 switch (*p[0]) {