Skip to content

Commit

Permalink
[PATCH] 6pack Timer initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ralf Baechle authored and Jeff Garzik committed Aug 27, 2005
1 parent 0572e3d commit 84a2ea1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/hamradio/6pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 84a2ea1

Please sign in to comment.