From 1e9a232a0a6bbbfcb9d0a166b324add0ec37ffe5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 9 Sep 2009 13:46:35 +0000 Subject: [PATCH] Cosmetic, synchronize source files git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2030 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lm3s/lm3s_ethernet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/src/lm3s/lm3s_ethernet.c b/arch/arm/src/lm3s/lm3s_ethernet.c index eff8554cec..d626166b56 100644 --- a/arch/arm/src/lm3s/lm3s_ethernet.c +++ b/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