All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle DL5RB <ralf@linux-mips.org>
To: linux-hams@vger.kernel.org
Subject: [PATCH] Fix 6pack resynchronizatio with a TNC
Date: Wed, 9 Feb 2005 00:34:26 +0000	[thread overview]
Message-ID: <20050209003425.GA18719@linux-mips.org> (raw)

Keep the resynchronization timer running or we're never going to sync
after a 6pack has been disconnected / reconnected or powercycled.
While we're at it, it's time to upgrade my callsign in the source :-)

Please test this and let me know of your test results.

73 de DL5RB op Ralf

--
Loc. JN47BS / CQ 14 / ITU 28 / DOK A21

 6pack.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

Index: bk-afu/drivers/net/hamradio/6pack.c
===================================================================
--- bk-afu.orig/drivers/net/hamradio/6pack.c	2005-02-08 17:06:24.465393600 +0000
+++ bk-afu/drivers/net/hamradio/6pack.c	2005-02-08 17:08:37.682141576 +0000
@@ -1023,10 +1023,8 @@
 
 	for (count1 = 0; count1 < count; count1++) {
 		inbyte = pre_rbuff[count1];
-		if (inbyte == SIXP_FOUND_TNC) {
+		if (inbyte == SIXP_FOUND_TNC)
 			tnc_set_sync_state(sp, TNC_IN_SYNC);
-			del_timer(&sp->resync_t);
-		}
 		if ((inbyte & SIXP_PRIO_CMD_MASK) != 0)
 			decode_prio_command(sp, inbyte);
 		else if ((inbyte & SIXP_STD_CMD_MASK) != 0)
@@ -1036,7 +1034,7 @@
 	}
 }
 
-MODULE_AUTHOR("Ralf Baechle DO1GRB <ralf@linux-mips.org>");
+MODULE_AUTHOR("Ralf Baechle DL5RB <ralf@linux-mips.org>");
 MODULE_DESCRIPTION("6pack driver for AX.25");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_LDISC(N_6PACK);

                 reply	other threads:[~2005-02-09  0:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050209003425.GA18719@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.