summaryrefslogtreecommitdiffstats
path: root/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-09-09 13:46:35 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2009-09-09 13:46:35 +0000
commitc9fd358783bfb97ab30efc4e617ac576d36ee86d (patch)
treeaaeb0e2b7cac1c0b2e18520ef65af9ff75c1a558 /nuttx/arch/arm/src/lm3s/lm3s_ethernet.c
parent88386217fe3bc81c3c8361a372377a63c6ae75f5 (diff)
Cosmetic, synchronize source files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2030 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/lm3s/lm3s_ethernet.c')
-rw-r--r--nuttx/arch/arm/src/lm3s/lm3s_ethernet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c b/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c
index eff8554cec..d626166b56 100644
--- a/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c
+++ b/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c
@@ -657,6 +657,7 @@ static void lm3s_receive(struct lm3s_driver_s *priv)
/* We will have to drop this packet */
+ ndbg("Bad packet size dropped (%d)\n", pktlen);
EMAC_STAT(priv, rx_pktsize);
/* This is the number of bytes and words left to read (including,
@@ -763,7 +764,7 @@ static void lm3s_receive(struct lm3s_driver_s *priv)
#ifdef CONFIG_DEBUG
else
{
- ndbg("Unsupported packet type dropped (%02x)\n", ETHBUF->type);
+ ndbg("Unsupported packet type dropped (%02x)\n", htons(ETHBUF->type));
EMAC_STAT(priv, rx_dropped);
}
#endif