From: Gabor Juhos Date: Sat, 11 Feb 2012 15:11:47 +0000 (+0000) Subject: ramips: raeth: use the NUM_TX_DESC for the tx_skb array X-Git-Tag: v19.07.0-rc1~25575 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c67adbbddb48b8e2e51b494de1aadccb421989a0;p=openwrt%2Fstaging%2Fhauke.git ramips: raeth: use the NUM_TX_DESC for the tx_skb array SVN-Revision: 30439 --- diff --git a/target/linux/ramips/files/drivers/net/ramips_eth.h b/target/linux/ramips/files/drivers/net/ramips_eth.h index ef644c11b7..ecf8d77236 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;