diff options
author | Karsten Keil <kkeil@suse.de> | 2006-06-27 13:01:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-27 18:00:36 -0700 |
commit | ca6f8792bd5281ebaf04bf23a43ed486e5e453a9 (patch) | |
tree | 55bbda39e65175a5a272cacbdfb537d8d7df4c65 /drivers | |
parent | 91bf46026966926f3b63539db423144b8c66eab4 (diff) | |
download | op-kernel-dev-ca6f8792bd5281ebaf04bf23a43ed486e5e453a9.zip op-kernel-dev-ca6f8792bd5281ebaf04bf23a43ed486e5e453a9.tar.gz |
[PATCH] i4l fix DLE masking in isdn_tty_try_read
DLE masking was non-functional since the new tty handling.
Found by Peter Evertz <leo2@pec.homeip.net>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index 2ac9024..433389d 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c @@ -82,7 +82,7 @@ isdn_tty_try_read(modem_info * info, struct sk_buff *skb) int l = skb->len; unsigned char *dp = skb->data; while (--l) { - if (*skb->data == DLE) + if (*dp == DLE) tty_insert_flip_char(tty, DLE, 0); tty_insert_flip_char(tty, *dp++, 0); } |