Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253860
b: refs/heads/master
c: e6539e2
h: refs/heads/master
v: v3
  • Loading branch information
Changli Gao authored and David S. Miller committed Jun 17, 2011
1 parent 0807402 commit 100666a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3ab6fde14b69c346939cd00765b3826a4760e5c
refs/heads/master: e6539e2b7aee117619153daaf61566dba1e04205
4 changes: 2 additions & 2 deletions trunk/drivers/net/ppp_async.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ static void ppp_async_process(unsigned long arg)
#define PUT_BYTE(ap, buf, c, islcp) do { \
if ((islcp && c < 0x20) || (ap->xaccm[c >> 5] & (1 << (c & 0x1f)))) {\
*buf++ = PPP_ESCAPE; \
*buf++ = c ^ 0x20; \
*buf++ = c ^ PPP_TRANS; \
} else \
*buf++ = c; \
} while (0)
Expand Down Expand Up @@ -896,7 +896,7 @@ ppp_async_input(struct asyncppp *ap, const unsigned char *buf,
sp = skb_put(skb, n);
memcpy(sp, buf, n);
if (ap->state & SC_ESCAPE) {
sp[0] ^= 0x20;
sp[0] ^= PPP_TRANS;
ap->state &= ~SC_ESCAPE;
}
}
Expand Down

0 comments on commit 100666a

Please sign in to comment.