diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-08-25 14:38:30 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-27 04:32:39 -0400 |
commit | 84a2ea1c2cee0288f96e0c6aa4f975d4d26508c7 (patch) | |
tree | 7c1de2aa18081752acf25bba86766d1940b30045 /drivers/net/hamradio | |
parent | 0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf (diff) |
[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 <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/hamradio')
-rw-r--r-- | drivers/net/hamradio/6pack.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index f9e3be96963c..b59c65b9645b 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) | |||
668 | netif_start_queue(dev); | 668 | netif_start_queue(dev); |
669 | 669 | ||
670 | init_timer(&sp->tx_t); | 670 | init_timer(&sp->tx_t); |
671 | sp->tx_t.function = sp_xmit_on_air; | ||
672 | sp->tx_t.data = (unsigned long) sp; | ||
673 | |||
671 | init_timer(&sp->resync_t); | 674 | init_timer(&sp->resync_t); |
672 | 675 | ||
673 | spin_unlock_bh(&sp->lock); | 676 | spin_unlock_bh(&sp->lock); |