aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-11 15:11:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-11 15:11:47 +0000
commitc67adbbddb48b8e2e51b494de1aadccb421989a0 (patch)
treec51a75d6bf6db2c3a023f0a8afe4c24e92cd36e8 /target/linux/ramips
parenta2c87895788d2258a8e93b12bcd39f55afaecf26 (diff)
downloadupstream-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/linux/ramips')
-rw-r--r--target/linux/ramips/files/drivers/net/ramips_eth.h2
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;