From: Ralf Baechle Date: Thu, 25 Aug 2005 18:38:30 +0000 (+0100) Subject: [PATCH] 6pack Timer initialization X-Git-Tag: v2.6.13~3^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=84a2ea1c2cee0288f96e0c6aa4f975d4d26508c7;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index f9e3be96963..b59c65b9645 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c @@ -668,6 +668,9 @@ static int sixpack_open(struct tty_struct *tty) 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);