summaryrefslogtreecommitdiff
path: root/target/linux/rdc/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-16 13:42:37 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-16 13:42:37 +0000
commit23aa6acff8c34bc22a0bb7612ea7490450452ffb (patch)
tree4ecc09f075924189f63576845f418c5d49472ce0 /target/linux/rdc/files
parent05ddc2a53c53521130c8063124281c021e95c80b (diff)
downloadmtk-20170518-23aa6acff8c34bc22a0bb7612ea7490450452ffb.zip
mtk-20170518-23aa6acff8c34bc22a0bb7612ea7490450452ffb.tar.gz
mtk-20170518-23aa6acff8c34bc22a0bb7612ea7490450452ffb.tar.bz2
Fix small typo in the ethernet driver
SVN-Revision: 13230
Diffstat (limited to 'target/linux/rdc/files')
-rw-r--r--target/linux/rdc/files/drivers/net/r6040.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/rdc/files/drivers/net/r6040.c b/target/linux/rdc/files/drivers/net/r6040.c
index 1a6383b..33a7c12 100644
--- a/target/linux/rdc/files/drivers/net/r6040.c
+++ b/target/linux/rdc/files/drivers/net/r6040.c
@@ -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;
}