diff options
author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2010-02-04 12:33:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-04 12:33:21 -0500 |
commit | 1b924032533033a4dae1a239981677bdae21949b (patch) | |
tree | 0a2dc38d02ef30ceecc651253598fe312b756099 /drivers/net/stmmac/dwmac100.c | |
parent | ae06b8330aefb0338017c427d5694fc8ea9144c8 (diff) |
stmmac: fix 'lenght' typo in comments and code
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
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)) { |