git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1205 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2009-10-04 13:37:10 +00:00
parent dd96bdcd51
commit b0fb2171c4
1 changed files with 3 additions and 3 deletions

View File

@ -272,9 +272,9 @@ msg_t lwip_thread(void *p) {
case ETHTYPE_PPPOE:
#endif /* PPPOE_SUPPORT */
/* full packet send to tcpip_thread to process */
if (thisif.input(p, &thisif) != ERR_OK) {
LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_input: IP input error\n"));
}
if (thisif.input(p, &thisif) == ERR_OK)
break;
LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_input: IP input error\n"));
default:
pbuf_free(p);
}