From b10ad5f4e073c01e80d4fadf4fcc757feb44b2f9 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 11 Feb 2012 15:11:47 +0000 Subject: ramips: raeth: use the NUM_TX_DESC for the tx_skb array git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30439 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/files/drivers/net/ramips_eth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/files') diff --git a/target/linux/ramips/files/drivers/net/ramips_eth.h b/target/linux/ramips/files/drivers/net/ramips_eth.h index ef644c11b..ecf8d7723 100644 --- a/target/linux/ramips/files/drivers/net/ramips_eth.h +++ b/target/linux/ramips/files/drivers/net/ramips_eth.h @@ -222,7 +222,7 @@ struct raeth_priv unsigned int phy_tx; struct tasklet_struct tx_housekeeping_tasklet; struct ramips_tx_dma *tx; - struct sk_buff *tx_skb[NUM_RX_DESC]; + struct sk_buff *tx_skb[NUM_TX_DESC]; unsigned int skb_free_idx; -- cgit v1.2.3