diff options
author | Giuseppe Cavallaro <peppe.cavallaro@st.com> | 2010-02-04 18:33:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-04 18:33:21 +0100 |
commit | 1b924032533033a4dae1a239981677bdae21949b (patch) | |
tree | 0a2dc38d02ef30ceecc651253598fe312b756099 /drivers/net/stmmac/dwmac100.c | |
parent | can: ems_usb: removed duplicated code setting local echo support (diff) | |
download | linux-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.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, 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)) { |