projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0572e3d
)
[PATCH] 6pack Timer initialization
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 25 Aug 2005 18:38:30 +0000
(19:38 +0100)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sat, 27 Aug 2005 08:32:39 +0000
(
04:32
-0400)
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>
drivers/net/hamradio/6pack.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/hamradio/6pack.c
b/drivers/net/hamradio/6pack.c
index f9e3be96963cde79ded8cd0b556294a6bd9987ec..b59c65b9645be21df12bb24c0fd7c2cd99799043 100644
(file)
--- 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);