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 | c67adbbddb48b8e2e51b494de1aadccb421989a0 (patch) | |
tree | c51a75d6bf6db2c3a023f0a8afe4c24e92cd36e8 /target | |
parent | a2c87895788d2258a8e93b12bcd39f55afaecf26 (diff) | |
download | upstream-c67adbbddb48b8e2e51b494de1aadccb421989a0.tar.gz upstream-c67adbbddb48b8e2e51b494de1aadccb421989a0.tar.bz2 upstream-c67adbbddb48b8e2e51b494de1aadccb421989a0.zip |
ramips: raeth: use the NUM_TX_DESC for the tx_skb array
SVN-Revision: 30439
Diffstat (limited to 'target')
-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; |