Skip to contentSkip to conversation

fixup! net: rtl8139: fix ifdown/ifup issues

PATCH New Denis Orlov 1 participant 1 message Feb 8, 2023 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! net: rtl8139: fix ifdown/ifup issues

Fixes a typo.

---
 drivers/net/rtl8139.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/rtl8139.c +1 -1
index 1cd2ae14de..5c91c10fea 100644
@@ -412,7 +412,7 @@ static void rtl8139_eth_halt(struct eth_device *edev)
 	dma_free_coherent((void *)priv->tx_bufs, priv->tx_bufs_dma,
 			  TX_BUF_TOT_LEN);
 	dma_free_coherent((void *)priv->rx_ring, priv->rx_ring_dma,
-			  TX_BUF_TOT_LEN);
+			  RX_BUF_TOT_LEN);
 
 	/* Green! Put the chip in low-power mode. */
 	RTL_W8(priv, Cfg9346, Cfg9346_Unlock);
Signature · 1 line
2.30.2