提交 e877a986 编写于 作者: B Bernard Xiong

fengzi: Fix LM3S ETH driver: Ethernet RX interrupt will be disabled if pbuf_alloc failed.

上级 bdeb0e50
......@@ -424,6 +424,10 @@ struct pbuf * luminaryif_rx(rt_device_t dev)
lwip_stats.link.memerr++;
lwip_stats.link.drop++;
#endif
//
// Enable Ethernet RX Interrupt.
//
EthernetIntEnable(ETH_BASE, ETH_INT_RX);
}
return(p);
......
......@@ -423,6 +423,10 @@ struct pbuf * luminaryif_rx(rt_device_t dev)
lwip_stats.link.memerr++;
lwip_stats.link.drop++;
#endif
//
// Enable Ethernet RX Interrupt.
//
EthernetIntEnable(ETH_BASE, ETH_INT_RX);
}
return(p);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册