diff options
Diffstat (limited to 'drivers/isdn/i4l/isdn_ppp.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_ppp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c index 9e8162c80bb0..1b002b0002a4 100644 --- a/drivers/isdn/i4l/isdn_ppp.c +++ b/drivers/isdn/i4l/isdn_ppp.c | |||
@@ -1514,7 +1514,7 @@ int isdn_ppp_autodial_filter(struct sk_buff *skb, isdn_net_local *lp) | |||
1514 | #define MP_LONGSEQ_MAXBIT ((MP_LONGSEQ_MASK+1)>>1) | 1514 | #define MP_LONGSEQ_MAXBIT ((MP_LONGSEQ_MASK+1)>>1) |
1515 | #define MP_SHORTSEQ_MAXBIT ((MP_SHORTSEQ_MASK+1)>>1) | 1515 | #define MP_SHORTSEQ_MAXBIT ((MP_SHORTSEQ_MASK+1)>>1) |
1516 | 1516 | ||
1517 | /* sequence-wrap safe comparisions (for long sequence)*/ | 1517 | /* sequence-wrap safe comparisons (for long sequence)*/ |
1518 | #define MP_LT(a,b) ((a-b)&MP_LONGSEQ_MAXBIT) | 1518 | #define MP_LT(a,b) ((a-b)&MP_LONGSEQ_MAXBIT) |
1519 | #define MP_LE(a,b) !((b-a)&MP_LONGSEQ_MAXBIT) | 1519 | #define MP_LE(a,b) !((b-a)&MP_LONGSEQ_MAXBIT) |
1520 | #define MP_GT(a,b) ((b-a)&MP_LONGSEQ_MAXBIT) | 1520 | #define MP_GT(a,b) ((b-a)&MP_LONGSEQ_MAXBIT) |
@@ -1746,7 +1746,7 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1746 | * then next fragment should be the start of new reassembly | 1746 | * then next fragment should be the start of new reassembly |
1747 | * if sequence is contiguous, but we haven't reassembled yet, | 1747 | * if sequence is contiguous, but we haven't reassembled yet, |
1748 | * keep going. | 1748 | * keep going. |
1749 | * if sequence is not contiguous, either clear everyting | 1749 | * if sequence is not contiguous, either clear everything |
1750 | * below low watermark and set start to the next frag or | 1750 | * below low watermark and set start to the next frag or |
1751 | * clear start ptr. | 1751 | * clear start ptr. |
1752 | */ | 1752 | */ |