patch-2.4.22 linux-2.4.22/drivers/net/wan/sdla_x25.c
Next file: linux-2.4.22/drivers/net/wan/z85230.c
Previous file: linux-2.4.22/drivers/net/wan/sdla_fr.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/wan/sdla_x25.c
- Orig date:
2003-06-13 07:51:35.000000000 -0700
diff -urN linux-2.4.21/drivers/net/wan/sdla_x25.c linux-2.4.22/drivers/net/wan/sdla_x25.c
@@ -1267,9 +1267,7 @@
connect(card);
S508_S514_unlock(card, &smp_flags);
- del_timer(&card->u.x.x25_timer);
- card->u.x.x25_timer.expires=jiffies+HZ;
- add_timer(&card->u.x.x25_timer);
+ mod_timer(&card->u.x.x25_timer, jiffies + HZ);
}
}
/* Device is not up until the we are in connected state */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)