diff options
Diffstat (limited to 'drivers/net/wan/x25_asy.c')
-rw-r--r-- | drivers/net/wan/x25_asy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index 3c325d77939b..b9f520b7db6a 100644 --- a/drivers/net/wan/x25_asy.c +++ b/drivers/net/wan/x25_asy.c | |||
@@ -657,8 +657,8 @@ static void x25_asy_unesc(struct x25_asy *sl, unsigned char s) | |||
657 | 657 | ||
658 | switch (s) { | 658 | switch (s) { |
659 | case X25_END: | 659 | case X25_END: |
660 | if (!test_and_clear_bit(SLF_ERROR, &sl->flags) | 660 | if (!test_and_clear_bit(SLF_ERROR, &sl->flags) && |
661 | && sl->rcount > 2) | 661 | sl->rcount > 2) |
662 | x25_asy_bump(sl); | 662 | x25_asy_bump(sl); |
663 | clear_bit(SLF_ESCAPE, &sl->flags); | 663 | clear_bit(SLF_ESCAPE, &sl->flags); |
664 | sl->rcount = 0; | 664 | sl->rcount = 0; |