提交 a967ec70 编写于 作者: M mbbill@gmail.com

minor fix in ethernetif

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1469 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 6a340562
......@@ -249,7 +249,12 @@ void eth_rx_thread_entry(void* parameter)
if (p != RT_NULL)
{
/* notify to upper layer */
tcpip_input(p, device->netif);
if( device->netif->input(p, device->netif) != ERR_OK )
{
LWIP_DEBUGF(NETIF_DEBUG, ("ethernetif_input: Input error\n"));
pbuf_free(p);
p = NULL;
}
}
else break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册