summaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/dwmac100.c
diff options
context:
space:
mode:
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>2010-02-04 18:33:21 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-04 18:33:21 +0100
commit1b924032533033a4dae1a239981677bdae21949b (patch)
tree0a2dc38d02ef30ceecc651253598fe312b756099 /drivers/net/stmmac/dwmac100.c
parentcan: ems_usb: removed duplicated code setting local echo support (diff)
downloadlinux-1b924032533033a4dae1a239981677bdae21949b.tar.xz
linux-1b924032533033a4dae1a239981677bdae21949b.zip
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.c2
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,
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)) {