patch-2.4.6 linux/drivers/isdn/hisax/hscx.c
Next file: linux/drivers/isdn/hisax/icc.c
Previous file: linux/drivers/isdn/hisax/hisax.h
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Mon Jul  2 14:07:55 2001
-  Orig file: 
v2.4.5/linux/drivers/isdn/hisax/hscx.c
-  Orig date: 
Fri Mar  2 11:12:08 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/isdn/hisax/hscx.c linux/drivers/isdn/hisax/hscx.c
@@ -1,4 +1,4 @@
-/* $Id: hscx.c,v 1.21.6.1 2001/02/16 16:43:27 kai Exp $
+/* $Id: hscx.c,v 1.21.6.2 2001/06/09 15:14:17 kai Exp $
  *
  * hscx.c   HSCX specific routines
  *
@@ -166,8 +166,8 @@
 			kfree(bcs->blog);
 			bcs->blog = NULL;
 		}
-		discard_queue(&bcs->rqueue);
-		discard_queue(&bcs->squeue);
+		skb_queue_purge(&bcs->rqueue);
+		skb_queue_purge(&bcs->squeue);
 		if (bcs->tx_skb) {
 			dev_kfree_skb_any(bcs->tx_skb);
 			bcs->tx_skb = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)