fixup! net: rtl8139: fix ifdown/ifup issues
PATCH 1/1 fixup! net: rtl8139: fix ifdown/ifup issues
Fixes a typo.
Signed-off-by Denis Orlov <[email protected]>
--- drivers/net/rtl8139.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/rtl8139.c +1 -1
@@ -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