Cosmetic, synchronize source files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2030 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
b9fa24b2ea
commit
1e9a232a0a
@ -657,6 +657,7 @@ static void lm3s_receive(struct lm3s_driver_s *priv)
|
|||||||
|
|
||||||
/* We will have to drop this packet */
|
/* We will have to drop this packet */
|
||||||
|
|
||||||
|
ndbg("Bad packet size dropped (%d)\n", pktlen);
|
||||||
EMAC_STAT(priv, rx_pktsize);
|
EMAC_STAT(priv, rx_pktsize);
|
||||||
|
|
||||||
/* This is the number of bytes and words left to read (including,
|
/* 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
|
#ifdef CONFIG_DEBUG
|
||||||
else
|
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);
|
EMAC_STAT(priv, rx_dropped);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user