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 <[EMAIL PROTECTED]>");
+MODULE_AUTHOR("Ralf Baechle DL5RB <[EMAIL PROTECTED]>");
MODULE_DESCRIPTION("6pack driver for AX.25");
MODULE_LICENSE("GPL");
MODULE_ALIAS_LDISC(N_6PACK);
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html