X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/7f7b8d65305915809100b848a1ffd3dfc92c8d3f..611fd7328c01559d301efd63ac10d4259af16449:/target/linux/rdc/files/drivers/net/r6040.c diff --git a/target/linux/rdc/files/drivers/net/r6040.c b/target/linux/rdc/files/drivers/net/r6040.c index 1a6383b9f..33a7c12d6 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; }