提交 232019e8 编写于 作者: Lawlieta's avatar Lawlieta

[net][sal] Fix not clean event issue after poll get the error event in lwIP.

Signed-off-by: Lawlieta's avatarchenyong <1521761801@qq.com>
上级 7278bcb5
......@@ -273,6 +273,8 @@ static int inet_poll(struct dfs_fd *file, struct rt_pollreq *req)
if (sock->errevent)
{
mask |= POLLERR;
/* clean error event */
sock->errevent = 0;
}
rt_hw_interrupt_enable(level);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册