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 1a6383b..33a7c12 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);
-                       lp->rx_insert_ptr->skb_ptr = NULL;
+                       lp->tx_insert_ptr->skb_ptr = NULL;
                }
                lp->tx_insert_ptr = lp->tx_insert_ptr->vndescp;
        }