aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/stmmac_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index f63c2ddced3c..d7250539d0bd 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -2588,6 +2588,7 @@ static int stmmac_open(struct net_device *dev)
2588 2588
2589 priv->dma_buf_sz = STMMAC_ALIGN(buf_sz); 2589 priv->dma_buf_sz = STMMAC_ALIGN(buf_sz);
2590 priv->rx_copybreak = STMMAC_RX_COPYBREAK; 2590 priv->rx_copybreak = STMMAC_RX_COPYBREAK;
2591 priv->mss = 0;
2591 2592
2592 ret = alloc_dma_desc_resources(priv); 2593 ret = alloc_dma_desc_resources(priv);
2593 if (ret < 0) { 2594 if (ret < 0) {