patch-2.3.99-pre7 linux/net/lapb/lapb_timer.c

Next file: linux/net/netrom/af_netrom.c
Previous file: linux/net/lapb/lapb_iface.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/lapb/lapb_timer.c linux/net/lapb/lapb_timer.c
@@ -73,7 +73,7 @@
 
 int lapb_t1timer_running(lapb_cb *lapb)
 {
-	return (lapb->t1timer.prev != NULL || lapb->t1timer.next != NULL);
+	return timer_pending(&lapb->t1timer);
 }
 
 static void lapb_t2timer_expiry(unsigned long param)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)