tree 7c1de2aa18081752acf25bba86766d1940b30045
parent 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf
author Ralf Baechle <[EMAIL PROTECTED]> Thu, 25 Aug 2005 19:38:30 +0100
committer Jeff Garzik <[EMAIL PROTECTED]> Sat, 27 Aug 2005 12:32:39 -0400

[PATCH] 6pack Timer initialization

I dropped the timer initialization bits by accident when sending the
p-persistence fix.  This patch gets the driver to work again on halfduplex
links.

Signed-off-by: Ralf Baechle DL5RB <[EMAIL PROTECTED]>
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>

 drivers/net/hamradio/6pack.c |    3 +++
 1 files changed, 3 insertions(+)

diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c
--- a/drivers/net/hamradio/6pack.c
+++ b/drivers/net/hamradio/6pack.c
@@ -668,6 +668,9 @@ static int sixpack_open(struct tty_struc
        netif_start_queue(dev);
 
        init_timer(&sp->tx_t);
+       sp->tx_t.function = sp_xmit_on_air;
+       sp->tx_t.data = (unsigned long) sp;
+
        init_timer(&sp->resync_t);
 
        spin_unlock_bh(&sp->lock);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to