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
6dc1166e58
commit
570d52d5a5
@ -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
|
||||||
|
@ -325,6 +325,7 @@ int net_poll(int sockfd, struct pollfd *fds, boolean setup)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Check if we are setting up or tearing down the poll */
|
/* Check if we are setting up or tearing down the poll */
|
||||||
|
|
||||||
if (setup)
|
if (setup)
|
||||||
{
|
{
|
||||||
/* Perform the TCP/IP poll() setup */
|
/* Perform the TCP/IP poll() setup */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* net/uip/uip_tcpcallback.c
|
* net/uip/uip_tcpcallback.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
Loading…
Reference in New Issue
Block a user