commit
6d1787e5dc
|
@ -367,6 +367,8 @@ static void eth_rx_thread_entry(void* parameter)
|
||||||
/* receive all of buffer */
|
/* receive all of buffer */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
if(device->eth_rx == RT_NULL) break;
|
||||||
|
|
||||||
p = device->eth_rx(&(device->parent));
|
p = device->eth_rx(&(device->parent));
|
||||||
if (p != RT_NULL)
|
if (p != RT_NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue