diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-11 15:11:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-11 15:11:47 +0000 |
commit | 6653e1388449a202ca73962ef2d1756cd705a498 (patch) | |
tree | 579734f0469764922e87077b7fa2f1bb842e4005 /target/linux/ramips/files/drivers/net/ramips_eth.h | |
parent | cba394b3896b95e1517564759f6f429ac04b19d1 (diff) | |
download | upstream-6653e1388449a202ca73962ef2d1756cd705a498.tar.gz upstream-6653e1388449a202ca73962ef2d1756cd705a498.tar.bz2 upstream-6653e1388449a202ca73962ef2d1756cd705a498.zip |
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
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ramips_eth.h')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ramips_eth.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |