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

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)