mirror of
https://github.com/apache/nuttx.git
synced 2026-06-09 19:04:15 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user