summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-05 13:04:48 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-05 13:04:48 -0600
commit2c65ea8325718f37ee4c21f7acd8b3671b6d39c6 (patch)
treeb7d6ddf9571f7c52b9942831dcc3deff4f7092f2 /misc
parent73d3d807bf41f61f9a35c96b1fdc8c0d62c7c40a (diff)
downloadnuttx-2c65ea8325718f37ee4c21f7acd8b3671b6d39c6.tar.gz
nuttx-2c65ea8325718f37ee4c21f7acd8b3671b6d39c6.tar.bz2
nuttx-2c65ea8325718f37ee4c21f7acd8b3671b6d39c6.zip
NET: Standardize naming of all protocal header lengths
Diffstat (limited to 'misc')
-rw-r--r--misc/drivers/rtl8187x/rtl8187x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/drivers/rtl8187x/rtl8187x.c b/misc/drivers/rtl8187x/rtl8187x.c
index f39e88f9f..597700bb9 100644
--- a/misc/drivers/rtl8187x/rtl8187x.c
+++ b/misc/drivers/rtl8187x/rtl8187x.c
@@ -2112,7 +2112,7 @@ static inline int rtl8187x_receive(FAR struct rtl8187x_state_s *priv,
* and an Ethernet header
*/
- if (iolen < NET_LLH_LEN + SIZEOF_RXDESC)
+ if (iolen < NET_LL_HDRLEN + SIZEOF_RXDESC)
{
RTL8187X_STATS(priv, rxtoosmall);
RTL8187X_STATS(priv, rxdropped);