summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/dwmac100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/stmmac/dwmac100.c')
-rw-r--r--drivers/net/stmmac/dwmac100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/dwmac100.c b/drivers/net/stmmac/dwmac100.c
index 82dde774d4c..ac48ed78704 100644
--- a/drivers/net/stmmac/dwmac100.c
+++ b/drivers/net/stmmac/dwmac100.c
@@ -265,7 +265,7 @@ static int dwmac100_get_rx_frame_status(void *data,
ret = discard_frame;
if (unlikely(p->des01.rx.length_error)) {
- x->rx_lenght++;
+ x->rx_length++;
ret = discard_frame;
}
if (unlikely(p->des01.rx.mii_error)) {