未验证 提交 8aeb8722 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1645 from enkiller/dev

[bsp]qemu-vexpress-a9 网卡驱动bug修复
......@@ -466,7 +466,7 @@ struct pbuf *smc911x_emac_rx(rt_device_t dev)
tmplen = (pktlen + 3) / 4;
/* allocate pbuf */
p = pbuf_alloc(PBUF_LINK, tmplen * 4, PBUF_RAM);
p = pbuf_alloc(PBUF_RAW, tmplen * 4, PBUF_RAM);
if (p)
{
uint32_t *data = (uint32_t *)p->payload;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册