diff options
Diffstat (limited to 'drivers/net/stmmac/dwmac100.c')
-rw-r--r-- | drivers/net/stmmac/dwmac100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/dwmac100.c b/drivers/net/stmmac/dwmac100.c index 82dde774d4c5..ac48ed787040 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, | |||
265 | ret = discard_frame; | 265 | ret = discard_frame; |
266 | 266 | ||
267 | if (unlikely(p->des01.rx.length_error)) { | 267 | if (unlikely(p->des01.rx.length_error)) { |
268 | x->rx_lenght++; | 268 | x->rx_length++; |
269 | ret = discard_frame; | 269 | ret = discard_frame; |
270 | } | 270 | } |
271 | if (unlikely(p->des01.rx.mii_error)) { | 271 | if (unlikely(p->des01.rx.mii_error)) { |