Fix small typo in the ethernet driver
authorFlorian Fainelli <florian@openwrt.org>
Sun, 16 Nov 2008 13:42:37 +0000 (13:42 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 16 Nov 2008 13:42:37 +0000 (13:42 +0000)
SVN-Revision: 13230

target/linux/rdc/files/drivers/net/r6040.c

index 1a6383b9f33d977ca1912ad710a1dfeb996cb231..33a7c12d676b34320b6b6b7d2ddd22f843c7a00d 100644 (file)
@@ -369,7 +369,7 @@ void r6040_free_txbufs(struct net_device *dev)
                                le32_to_cpu(lp->tx_insert_ptr->buf),
                                MAX_BUF_SIZE, PCI_DMA_TODEVICE);
                        dev_kfree_skb(lp->tx_insert_ptr->skb_ptr);
                                le32_to_cpu(lp->tx_insert_ptr->buf),
                                MAX_BUF_SIZE, PCI_DMA_TODEVICE);
                        dev_kfree_skb(lp->tx_insert_ptr->skb_ptr);
-                       lp->rx_insert_ptr->skb_ptr = NULL;
+                       lp->tx_insert_ptr->skb_ptr = NULL;
                }
                lp->tx_insert_ptr = lp->tx_insert_ptr->vndescp;
        }
                }
                lp->tx_insert_ptr = lp->tx_insert_ptr->vndescp;
        }