patch-2.4.17 linux/drivers/isdn/eicon/common.c

Next file: linux/drivers/isdn/eicon/eicon.h
Previous file: linux/drivers/isdn/divert/isdn_divert.h
Back to the patch index
Back to the overall index

diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/drivers/isdn/eicon/common.c linux/drivers/isdn/eicon/common.c
@@ -808,7 +808,9 @@
 	
 	while(i--)
 	{
-		DivaDoCardDpc(card++);
+            if (card->state == DIA_RUNNING)
+		DivaDoCardDpc(card);
+            card++;
 	}
 }
 

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