All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix 6pack resynchronizatio with a TNC
@ 2005-02-09  0:34 Ralf Baechle DL5RB
  0 siblings, 0 replies; only message in thread
From: Ralf Baechle DL5RB @ 2005-02-09  0:34 UTC (permalink / raw)
  To: linux-hams

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);

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

only message in thread, other threads:[~2005-02-09  0:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09  0:34 [PATCH] Fix 6pack resynchronizatio with a TNC Ralf Baechle DL5RB

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.