patch-2.4.21 linux-2.4.21/drivers/isdn/hisax/hfc_pci.c

Next file: linux-2.4.21/drivers/isdn/hisax/hisax.h
Previous file: linux-2.4.21/drivers/isdn/hisax/amd7930.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/isdn/hisax/hfc_pci.c linux-2.4.21/drivers/isdn/hisax/hfc_pci.c
@@ -687,6 +687,10 @@
 				debugl1(cs, "hfcpci_fill_fifo_trans %d frame length %d discarded",
 					bcs->channel, bcs->tx_skb->len);
 
+			if (bcs->st->lli.l1writewakeup &&
+                           (PACKET_NOACK != bcs->tx_skb->pkt_type))
+				bcs->st->lli.l1writewakeup(bcs->st, bcs->tx_skb->len);
+
 			dev_kfree_skb_any(bcs->tx_skb);
 			cli();
 			bcs->tx_skb = skb_dequeue(&bcs->squeue);	/* fetch next data */

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