projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91bf460
)
[PATCH] i4l fix DLE masking in isdn_tty_try_read
author
Karsten Keil
<kkeil@suse.de>
Tue, 27 Jun 2006 11:01:27 +0000
(13:01 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 28 Jun 2006 01:00:36 +0000
(18:00 -0700)
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>
drivers/isdn/i4l/isdn_tty.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/i4l/isdn_tty.c
b/drivers/isdn/i4l/isdn_tty.c
index 2ac90242d263714b7d6108a9005982ef660c02d7..433389daedb2ab9208b2f45b2bd3320ff18cf5ff 100644
(file)
--- 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);
}