Skip to contentSkip to conversation

Fix 6pack resynchronizatio with a TNC

PATCH New Ralf Baechle DL5RB 1 participant 1 message Feb 9, 2005 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix 6pack resynchronizatio with a TNC

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(-)
drivers/net/hamradio/6pack.c +2 -4
Index: bk-afu/drivers/net/hamradio/6pack.c
===================================================================
@@ -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 <[email protected]>");
+MODULE_AUTHOR("Ralf Baechle DL5RB <[email protected]>");
 MODULE_DESCRIPTION("6pack driver for AX.25");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_LDISC(N_6PACK);