ramips: raeth: use the NUM_TX_DESC for the tx_skb array
authorGabor Juhos <juhosg@openwrt.org>
Sat, 11 Feb 2012 15:11:47 +0000 (15:11 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 11 Feb 2012 15:11:47 +0000 (15:11 +0000)
SVN-Revision: 30439

target/linux/ramips/files/drivers/net/ramips_eth.h

index ef644c11b7791c725669e80af5e91c4ce2aca944..ecf8d772362930614d43dadc13f06738d14676b4 100644 (file)
@@ -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;