mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] i4l fix DLE masking in isdn_tty_try_read
@ 2006-06-27 11:01 Karsten Keil
  0 siblings, 0 replies; only message in thread
From: Karsten Keil @ 2006-06-27 11:01 UTC (permalink / raw)
  To: linux-kernel, Linus Torvalds, Andrew Morton; +Cc: Greg KH

DLE masking was none functional since the new tty handling.
Found by Peter Evertz <leo2@pec.homeip.net>

Signed-off-by: Karsten Keil <kkeil@suse.de>

---

 drivers/isdn/i4l/isdn_tty.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

d895418ed29eb92a72c5c2ef68a6dafeaa53b717
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, str
 						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);
 						}

-- 
Karsten Keil
SuSE Labs
ISDN development

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-27 11:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-27 11:01 [PATCH] i4l fix DLE masking in isdn_tty_try_read Karsten Keil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®